From 978090155551a6d53da9c40ea9ee789a4009aaae Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Thu, 6 Aug 2020 20:00:56 +1000 Subject: [PATCH] setup: Install configparser when running on py2 Partially reverses a7820a2 Signed-off-by: Brad Hubbard --- setup.py | 3 +++ 1 file changed, 3 insertions(+) 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', -- 2.47.3