File tree 3 files changed +10
-3
lines changed
3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
from __future__ import annotations
7
7
8
+ import logging
8
9
import os
9
10
import pathlib
10
11
import re
22
23
23
24
from more_itertools import always_iterable
24
25
25
- from ..._log import log
26
26
from ..._modified import newer_group
27
27
from ...dir_util import mkpath
28
28
from ...errors import (
48
48
_BytesPathT = TypeVar ("_BytesPathT" , bound = "bytes | os.PathLike[bytes]" )
49
49
50
50
51
+ log = logging .getLogger ()
52
+
53
+
51
54
class Compiler :
52
55
"""Abstract base class to define the interface that must be implemented
53
56
by real compiler classes. Also has some utility methods used by
Original file line number Diff line number Diff line change 14
14
from __future__ import annotations
15
15
16
16
import contextlib
17
+ import logging
17
18
import os
18
19
import subprocess
19
20
import unittest .mock as mock
25
26
26
27
from itertools import count
27
28
28
- from ..._log import log
29
29
from ...errors import (
30
30
DistutilsExecError ,
31
31
DistutilsPlatformError ,
39
39
LinkError ,
40
40
)
41
41
42
+ log = logging .getLogger ()
43
+
42
44
43
45
def _find_vc2015 ():
44
46
try :
Original file line number Diff line number Diff line change 16
16
from __future__ import annotations
17
17
18
18
import itertools
19
+ import logging
19
20
import os
20
21
import re
21
22
import shlex
22
23
import sys
23
24
from collections .abc import Iterable
24
25
25
26
from ... import sysconfig
26
- from ..._log import log
27
27
from ..._macos_compat import compiler_fixup
28
28
from ..._modified import newer
29
29
from ...compat import consolidate_linker_args
36
36
LinkError ,
37
37
)
38
38
39
+ log = logging .getLogger ()
40
+
39
41
# XXX Things not currently handled:
40
42
# * optimization/debug/warning flags; we just use whatever's in Python's
41
43
# Makefile and live with it. Is this adequate? If not, we might
You can’t perform that action at this time.
0 commit comments