diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/distutils/misc_util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index 52458f587..aa649a23f 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -10,7 +10,7 @@ import shutil import multiprocessing import textwrap -import sysconfig +import distutils from distutils.errors import DistutilsError try: from threading import local as tlocal @@ -661,7 +661,7 @@ def get_shared_lib_extension(is_python_ext=False): Linux, but not on OS X. """ - confvars = sysconfig.get_config_vars() + confvars = distutils.sysconfig.get_config_vars() # SO is deprecated in 3.3.1, use EXT_SUFFIX instead so_ext = confvars.get('EXT_SUFFIX', None) if so_ext is None: |