Skip to content

Commit

Permalink
Merge pull request numpy#13629 from mattip/issue13265
Browse files Browse the repository at this point in the history
BUG: setup.py install --skip-build fails
  • Loading branch information
rgommers authored May 26, 2019
2 parents 387ba1f + b8e741c commit 9839f30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions numpy/distutils/command/install_clib.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def finalize_options(self):

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
Expand Down

0 comments on commit 9839f30

Please sign in to comment.