From: Zack Cerza Date: Thu, 28 Aug 2014 22:46:28 +0000 (-0600) Subject: Add install_requires and tests_require X-Git-Tag: 1.1.0~1190^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F323%2Fhead;p=teuthology.git Add install_requires and tests_require Signed-off-by: Zack Cerza --- diff --git a/setup.py b/setup.py index 6d7c85c3c..f653b597c 100644 --- a/setup.py +++ b/setup.py @@ -5,6 +5,15 @@ module_file = open("teuthology/__init__.py").read() metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*['\"]([^'\"]*)['\"]", module_file)) long_description = open('README.rst').read() +install_requires=[ + 'setuptools', + ] + +install_requires.extend( + [ln.strip() for ln in open('requirements.txt').readlines() if ln and '#' + not in ln] +) + setup( name='teuthology', @@ -23,12 +32,14 @@ setup( 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python :: 2.7' + 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', 'Topic :: System :: Distributed Computing', 'Topic :: System :: Filesystems', ], + install_requires=install_requires, + tests_require=['nose >=1.0.0', 'fudge >=1.0.3'], # to find the code associated with entry point