From 42ba7043fa74284c3bc3684bd5fc2f30f1d5f1be Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 16 Jun 2019 20:20:08 +0300 Subject: [PATCH] BUG: fix base directory and typo --- .appveyor.yml | 2 +- openblas_support.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index e3f395b..9e77597 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -121,7 +121,7 @@ build_script: - git checkout %BUILD_COMMIT% # Create _distributor_init.py - cd .. - - python -c "import openblas_support; openblas_support.make_init('numpy')" + - python -c "import openblas_support; openblas_support.make_init('numpy/numpy')" - cd numpy # Append license text relevant for the built wheel - type ..\LICENSE_win32.txt >> LICENSE.txt diff --git a/openblas_support.py b/openblas_support.py index 73a12cc..38553ac 100644 --- a/openblas_support.py +++ b/openblas_support.py @@ -26,7 +26,7 @@ def make_init(dirname): else: libs_dir = os.path.abspath(os.path.join(basedir, '.libs')) DLL_filenames = [] - if os.path.isdir(libs_path): + if os.path.isdir(libs_dir): for filename in glob.glob(os.path.join(libs_dir, '*openblas*dll')): # NOTE: would it change behavior to load ALL