Commit 089c6f4f authored by doko@ubuntu.com's avatar doko@ubuntu.com

- Issue #23968: Update distutils/sysconfig.py to look for the renamed

   _sysconfigdata module too.
parent 9070733b
......@@ -418,7 +418,9 @@ _config_vars = None
def _init_posix():
"""Initialize the module as appropriate for POSIX systems."""
# _sysconfigdata is generated at build time, see the sysconfig module
from _sysconfigdata import build_time_vars
name = '_sysconfigdata_' + sys.abiflags
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
build_time_vars = _temp.build_time_vars
global _config_vars
_config_vars = {}
_config_vars.update(build_time_vars)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment