From: Alfredo Deza Date: Mon, 10 Aug 2015 17:48:39 +0000 (-0400) Subject: [RM-12470] how about using the defined install_requires X-Git-Tag: v1.2.4~3^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dc5b009bd9cd3186056727a08b39b19c5f5595df;p=radosgw-agent.git [RM-12470] how about using the defined install_requires Signed-off-by: Alfredo Deza --- diff --git a/setup.py b/setup.py index 4a19799..9083b80 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,11 @@ metadata = dict( re.findall(r"__([a-z]+)__\s*=\s*['\"]([^'\"]*)['\"]", module_file)) -install_requires = [] +install_requires = [ + 'boto >=2.2.2,<3.0.0', + 'PyYAML', +] + pyversion = sys.version_info[:2] if pyversion < (2, 7) or (3, 0) <= pyversion <= (3, 1): install_requires.append('argparse') @@ -24,15 +28,11 @@ setup( license='MIT', keywords='radosgw ceph radosgw-agent', url="https://github.com/ceph/radosgw-agent", - - install_requires=[ - 'boto >=2.2.2,<3.0.0', - 'PyYAML', - 'argparse', - ], + install_requires=install_requires, test_requires=[ 'pytest', 'mock', + 'tox', 'httpretty', ], entry_points={