Skip to content

Commit 1645310

Browse files
anmol-dhingrachattarajoy
authored andcommitted
SDK-401: Fix inflection version upgrade on basis of python version (#316)
1 parent 053843a commit 1645310

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

setup.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22
import sys
33
from setuptools import setup
44

5-
INSTALL_REQUIRES = ['requests >=1.0.3', 'boto >=2.45.0', 'six >=1.2.0', 'urllib3 >= 1.0.2', 'inflection >= 0.3.1']
5+
INSTALL_REQUIRES = ['requests >=1.0.3', 'boto >=2.45.0', 'six >=1.2.0', 'urllib3 >= 1.0.2']
6+
67
if sys.version_info < (2, 7, 0):
78
INSTALL_REQUIRES.append('argparse>=1.1')
9+
if sys.version_info < (3, 5):
10+
INSTALL_REQUIRES.append('inflection==0.3.1')
11+
else:
12+
INSTALL_REQUIRES.append('inflection>=0.3.1')
813

914

1015
def read(fname):

0 commit comments

Comments
 (0)