Skip to content

Commit 23e9f73

Browse files
committed
Fix setup.py test
Use setuptools instead of numpy.distutils for "setup.py test" Note: this is apparently a bug in the version of setup.py included with numpy ("setup.py test" doesn't work for numpy).
1 parent de69313 commit 23e9f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def setup_package():
180180
# Run build
181181
if len(sys.argv) >= 2 and ('--help' in sys.argv[1:] or
182182
sys.argv[1] in ('--help-commands', 'egg_info', '--version',
183-
'clean')):
183+
'clean', 'test')):
184184
# Use setuptools for these commands (they don't work well or at all
185185
# with distutils). For normal builds use distutils.
186186
try:

0 commit comments

Comments
 (0)