From 1645310d553c0c2b08897ceeb59120227697d350 Mon Sep 17 00:00:00 2001 From: Anmol Dhingra Date: Wed, 15 Apr 2020 13:43:01 +0530 Subject: [PATCH] SDK-401: Fix inflection version upgrade on basis of python version (#316) --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 33fe153d..0cd1a4be 100644 --- a/setup.py +++ b/setup.py @@ -2,9 +2,14 @@ import sys from setuptools import setup -INSTALL_REQUIRES = ['requests >=1.0.3', 'boto >=2.45.0', 'six >=1.2.0', 'urllib3 >= 1.0.2', 'inflection >= 0.3.1'] +INSTALL_REQUIRES = ['requests >=1.0.3', 'boto >=2.45.0', 'six >=1.2.0', 'urllib3 >= 1.0.2'] + if sys.version_info < (2, 7, 0): INSTALL_REQUIRES.append('argparse>=1.1') +if sys.version_info < (3, 5): + INSTALL_REQUIRES.append('inflection==0.3.1') +else: + INSTALL_REQUIRES.append('inflection>=0.3.1') def read(fname):