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.
2 parents 2706edb + cd5cd61 commit dae480dCopy full SHA for dae480d
setup.py
@@ -233,6 +233,8 @@ def run_tests(self):
233
argv=['nosetests'] + self.test_args,
234
exit=True)
235
236
+cmdclass = versioneer.get_cmdclass()
237
+cmdclass['test'] = NoseTestCommand
238
239
# One doesn't normally see `if __name__ == '__main__'` blocks in a setup.py,
240
# however, this is needed on Windows to avoid creating infinite subprocesses
@@ -375,6 +377,6 @@ def run_tests(self):
375
377
# Telling setuptools this prevents it from doing an automatic
376
378
# check for zip safety.
379
zip_safe=False,
- cmdclass={'test': NoseTestCommand},
380
+ cmdclass=cmdclass,
381
**extra_args
382
)
0 commit comments