Thanks to visit codestin.com Credit goes to github.com
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 2706edb commit cd5cd61Copy full SHA for cd5cd61
1 file changed
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