Merge pull request #913 from berkerpeksag/tweak-setup

Remove unused install_requires parameter in setup.py.
This commit is contained in:
Randall Leeds 2014-10-14 17:32:17 -07:00
commit f65066c0eb

View File

@ -3,7 +3,6 @@
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.
import os
import sys
@ -45,7 +44,8 @@ fname = os.path.join(os.path.dirname(__file__), 'requirements_dev.txt')
with open(fname) as f:
tests_require = list(map(lambda l: l.strip(), f.readlines()))
class PyTest(TestCommand):
class PyTestCommand(TestCommand):
user_options = [
("cov", None, "measure coverage")
]
@ -66,8 +66,6 @@ class PyTest(TestCommand):
errno = pytest.main(self.test_args)
sys.exit(errno)
REQUIREMENTS = []
setup(
name='gunicorn',
version=__version__,
@ -85,12 +83,9 @@ setup(
include_package_data=True,
tests_require=tests_require,
cmdclass = {'test': PyTest},
install_requires = REQUIREMENTS,
cmdclass={'test': PyTestCommand},
entry_points="""
[console_scripts]
gunicorn=gunicorn.app.wsgiapp:run
gunicorn_django=gunicorn.app.djangoapp:run