diff options
author | mattip <matti.picus@gmail.com> | 2019-05-26 08:55:53 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-05-26 08:55:53 +0300 |
commit | b8e741c66f71071c3406e592e1537570731bcb35 (patch) | |
tree | 8608a13c1c38bab9e9f5917c0f61f03e2eb1d1c5 | |
parent | 59622908ca14059b31d3b6c13ffab64a8151a39a (diff) | |
download | numpy-b8e741c66f71071c3406e592e1537570731bcb35.tar.gz |
BUG: setup.py install --skip-build fails
-rw-r--r-- | numpy/distutils/command/install_clib.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/distutils/command/install_clib.py b/numpy/distutils/command/install_clib.py index 662aa00bd..6a73f7e33 100644 --- a/numpy/distutils/command/install_clib.py +++ b/numpy/distutils/command/install_clib.py @@ -19,6 +19,9 @@ class install_clib(Command): def run (self): build_clib_cmd = get_cmd("build_clib") + if not build_clib_cmd.build_clib: + # can happen if the user specified `--skip-build` + build_clib_cmd.finalize_options() build_dir = build_clib_cmd.build_clib # We need the compiler to get the library name -> filename association |