1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Description: Modify setuptools configuration to use nosetests
Configure nose setuptools configuration as described in
https://nose.readthedocs.org/en/latest/setuptools_integration.html
and the manpage for the executable
Author: Afif Elghraoui <afif@ghraoui.name>
Forwarded: not-needed
Last-Update: 2015-08-06
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[metadata]
description-file = README.md
+[nosetests]
+verbosity=2
+where=tests
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,7 @@ setup(
'data/datasets/yieldtest/*.*']
},
zip_safe = False,
+ test_suite = 'nose.collector',
entry_points = { "console_scripts" : [ ".open = pbcore.io.opener:entryPoint" ] },
install_requires=_get_local_requirements(_REQUIREMENTS_FILE),
tests_require=_get_local_requirements(_REQUIREMENTS_TEST_FILE)
|