From f9d1917b0a87c26d0c2f8bab4723a81941ed8886 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 28 Aug 2014 16:46:28 -0600 Subject: [PATCH] Add install_requires and tests_require Signed-off-by: Zack Cerza --- setup.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6d7c85c3c7..f653b597c6 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 -- 2.39.5