summaryrefslogtreecommitdiff
path: root/numpy/distutils/misc_util.py
diff options
context:
space:
mode:
authorxoviat <xoviat@users.noreply.github.com>2017-12-24 09:44:47 -0600
committerxoviat <xoviat@users.noreply.github.com>2017-12-24 09:46:48 -0600
commit473a6f067267e752cbfd2c163e95a0387ccb06b5 (patch)
tree6f422bfd38b33ba9c5c8dce8327cb2bfc2cef1ea /numpy/distutils/misc_util.py
parent986268bed067899af8de456afb93209230a34e1a (diff)
downloadnumpy-473a6f067267e752cbfd2c163e95a0387ccb06b5.tar.gz
BUG: distutils: use correct top-level package name
Here, we align the extra-dll name to the one that auditwheel uses, and we handle the case where 1) there is more than one root package and 2) the root package name is different than the distribution name
Diffstat (limited to 'numpy/distutils/misc_util.py')
-rw-r--r--numpy/distutils/misc_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py
index 8bf69ffbd..93af72375 100644
--- a/numpy/distutils/misc_util.py
+++ b/numpy/distutils/misc_util.py
@@ -2290,7 +2290,7 @@ def generate_config_py(target):
# For gfortran+msvc combination, extra shared libraries may exist
f.write("""
import os
-extra_dll_dir = os.path.join(os.path.dirname(__file__), 'extra-dll')
+extra_dll_dir = os.path.join(os.path.dirname(__file__), '.libs')
if os.path.isdir(extra_dll_dir):
os.environ["PATH"] += os.pathsep + extra_dll_dir
""")