mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Declare our setuptools dependency (#1931)
We rely on setuptools' pkg_resources in a few places so we declare our dependency so that packaging and installation tools work. Fixes #1716
This commit is contained in:
parent
ee7af1247b
commit
ba9a4462c6
9
setup.py
9
setup.py
@ -65,6 +65,14 @@ class PyTestCommand(TestCommand):
|
|||||||
sys.exit(errno)
|
sys.exit(errno)
|
||||||
|
|
||||||
|
|
||||||
|
install_requires = [
|
||||||
|
# We depend on functioning pkg_resources.working_set.add_entry() and
|
||||||
|
# pkg_resources.load_entry_point(). These both work as of 3.0 which
|
||||||
|
# is the first version to support Python 3.4 which we require as a
|
||||||
|
# floor.
|
||||||
|
'setuptools>=3.0',
|
||||||
|
]
|
||||||
|
|
||||||
extra_require = {
|
extra_require = {
|
||||||
'gevent': ['gevent>=0.13'],
|
'gevent': ['gevent>=0.13'],
|
||||||
'eventlet': ['eventlet>=0.9.7'],
|
'eventlet': ['eventlet>=0.9.7'],
|
||||||
@ -84,6 +92,7 @@ setup(
|
|||||||
url='http://gunicorn.org',
|
url='http://gunicorn.org',
|
||||||
|
|
||||||
python_requires='>=3.4',
|
python_requires='>=3.4',
|
||||||
|
install_requires=install_requires,
|
||||||
classifiers=CLASSIFIERS,
|
classifiers=CLASSIFIERS,
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
packages=find_packages(exclude=['examples', 'tests']),
|
packages=find_packages(exclude=['examples', 'tests']),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user