From: Brad Hubbard Date: Thu, 6 Aug 2020 10:00:56 +0000 (+1000) Subject: setup: Install configparser when running on py2 X-Git-Tag: v2.1.0~13^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=978090155551a6d53da9c40ea9ee789a4009aaae;p=ceph-deploy.git setup: Install configparser when running on py2 Partially reverses a7820a2 Signed-off-by: Brad Hubbard --- diff --git a/setup.py b/setup.py index e59014f..2a167c1 100644 --- 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',