mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
bpo-43425: Update _osx_support not to use distutils.log (GH-26968)
This commit is contained in:
parent
818628c2da
commit
c8979f780e
1 changed files with 3 additions and 4 deletions
|
@ -428,10 +428,9 @@ def compiler_fixup(compiler_so, cc_args):
|
||||||
break
|
break
|
||||||
|
|
||||||
if sysroot and not os.path.isdir(sysroot):
|
if sysroot and not os.path.isdir(sysroot):
|
||||||
from distutils import log
|
sys.stderr.write(f"Compiling with an SDK that doesn't seem to exist: {sysroot}\n")
|
||||||
log.warn("Compiling with an SDK that doesn't seem to exist: %s",
|
sys.stderr.write("Please check your Xcode installation\n")
|
||||||
sysroot)
|
sys.stderr.flush()
|
||||||
log.warn("Please check your Xcode installation")
|
|
||||||
|
|
||||||
return compiler_so
|
return compiler_so
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue