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):