]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
setup: Install configparser when running on py2 wip-configparser-py2-fix 500/head
authorBrad Hubbard <bhubbard@redhat.com>
Thu, 6 Aug 2020 10:00:56 +0000 (20:00 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Thu, 6 Aug 2020 10:07:09 +0000 (20:07 +1000)
Partially reverses a7820a2

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
setup.py

index e59014fd5bb5159aff03040d6ebb6204ca595194..2a167c1dc85d97f8f02bf3d87d6c5acd8bd67c75 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -14,6 +14,9 @@ install_requires = ['remoto>=1.1.4']
 pyversion = sys.version_info[:2]
 if pyversion < (2, 7) or (3, 0) <= pyversion <= (3, 1):
     install_requires.append('argparse')
+if pyversion < (3, 0):
+    install_requires.append('configparser')
+
 
 setup(
     name='ceph-deploy',