]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
setup.py: move test related stuff to optional deps
authorKefu Chai <kchai@redhat.com>
Wed, 27 Nov 2019 10:00:09 +0000 (18:00 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 4 Dec 2019 17:19:30 +0000 (01:19 +0800)
all of them are for testing teuthology itself.

Signed-off-by: Kefu Chai <kchai@redhat.com>
setup.py

index 018faa283f74dd37d53e88b85fa9409cf104bbd8..75cee14176a39e776117e6dfb36d2a512009f71c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -48,16 +48,13 @@ setup(
         'Topic :: System :: Distributed Computing',
         'Topic :: System :: Filesystems',
     ],
-    install_requires=['pip-tools',
-                      'tox',
-                      'gevent',
+    install_requires=['gevent',
                       'PyYAML',
                       'argparse >= 1.2.1',
                       'boto >= 2.0b4',
                       'configobj',
                       'six >= 1.9', # python-openstackclient won't work properly with less
                       'pexpect',
-                      'pytest', # for tox.ini
                       'nose', # for qa/tasks/rgw_multisite_tests.py',
                       'docopt',
                       'psutil >= 2.1.0',
@@ -94,6 +91,11 @@ setup(
             'python-neutronclient',
             'raven',
             'requests != 2.13.0',
+        ],
+        'test': [
+            'tox',
+            'pip-tools',
+            'pytest',           # for tox.ini
         ]
     },