Move nose from setup_requires to test_requires
authorSascha Peilicke <saschpe@gmx.de>
Mon, 21 Oct 2013 07:21:43 +0000 (09:21 +0200)
committerSascha Peilicke <saschpe@gmx.de>
Mon, 21 Oct 2013 07:21:43 +0000 (09:21 +0200)
nose is only suitable for test discovery and as such is not needed
during setup.py build or install.

setup.py

index 2fb61058c60ae29ce9c029fb963d78b2e0cb46a2..6b51c2b63a376bbc3ea1cce98562f92f49662a64 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -26,10 +26,9 @@ setup(
     packages=['jenkinsapi', 'jenkinsapi.utils', 'jenkinsapi.command_line', 'jenkinsapi_tests'],
     zip_safe=True,
     include_package_data=False,
-    setup_requires=['nose'],
     install_requires=['requests>=1.2.3', 'pytz>=2013b'],
     test_suite='jenkinsapi_tests',
-    tests_require=['mock', 'coverage'],
+    tests_require=['mock', 'nose', 'coverage'],
     entry_points=GLOBAL_ENTRY_POINTS,
     url=PROJECT_URL,
     description=SHORT_DESCRIPTION,