We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83129bf commit c6b6d4eCopy full SHA for c6b6d4e
setup.py
@@ -481,16 +481,14 @@ def setup_package():
481
# numpy.distutils insist all data files are installed in site-packages
482
'install_data': install_data.install_data
483
}
484
- if have_numpy and have_cython:
485
- extra_args = {}
486
- else:
+ if not (have_numpy and have_cython):
487
# substitute a build_ext command with one that raises an error when
488
# building. In order to fully support `pip install` we need to
489
# survive a `./setup egg_info` without numpy so pip can properly
490
# query our install dependencies
491
492
cmdclass["build_ext"] = build_ext_error
493
+ extra_args = {}
494
setup(
495
name=NAME,
496
version=FULLVERSION,
0 commit comments