mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
some setup enhancements preparing the python 3 release
This commit is contained in:
parent
fd6c712dd4
commit
68b5abc881
51
setup.py
51
setup.py
@ -10,38 +10,42 @@ import sys
|
|||||||
|
|
||||||
from gunicorn import __version__
|
from gunicorn import __version__
|
||||||
|
|
||||||
|
CLASSIFIERS = [
|
||||||
|
'Development Status :: 4 - Beta',
|
||||||
|
'Environment :: Other Environment',
|
||||||
|
'Intended Audience :: Developers',
|
||||||
|
'License :: OSI Approved :: MIT License',
|
||||||
|
'Operating System :: MacOS :: MacOS X',
|
||||||
|
'Operating System :: POSIX',
|
||||||
|
'Programming Language :: Python',
|
||||||
|
'Programming Language :: Python',
|
||||||
|
'Programming Language :: Python :: 2',
|
||||||
|
'Programming Language :: Python :: 2.6',
|
||||||
|
'Programming Language :: Python :: 2.7',
|
||||||
|
'Topic :: Internet',
|
||||||
|
'Topic :: Utilities',
|
||||||
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||||
|
'Topic :: Internet :: WWW/HTTP',
|
||||||
|
'Topic :: Internet :: WWW/HTTP :: WSGI',
|
||||||
|
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
|
||||||
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content']
|
||||||
|
|
||||||
|
# read long description
|
||||||
|
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = 'gunicorn',
|
name = 'gunicorn',
|
||||||
version = __version__,
|
version = __version__,
|
||||||
|
|
||||||
description = 'WSGI HTTP Server for UNIX',
|
description = 'WSGI HTTP Server for UNIX',
|
||||||
long_description = file(
|
long_description = long_description,
|
||||||
os.path.join(
|
|
||||||
os.path.dirname(__file__),
|
|
||||||
'README.rst'
|
|
||||||
)
|
|
||||||
).read(),
|
|
||||||
author = 'Benoit Chesneau',
|
author = 'Benoit Chesneau',
|
||||||
author_email = 'benoitc@e-engura.com',
|
author_email = 'benoitc@e-engura.com',
|
||||||
license = 'MIT',
|
license = 'MIT',
|
||||||
url = 'http://gunicorn.org',
|
url = 'http://gunicorn.org',
|
||||||
|
|
||||||
classifiers = [
|
classifiers = CLASSIFIERS,
|
||||||
'Development Status :: 4 - Beta',
|
|
||||||
'Environment :: Other Environment',
|
|
||||||
'Intended Audience :: Developers',
|
|
||||||
'License :: OSI Approved :: MIT License',
|
|
||||||
'Operating System :: MacOS :: MacOS X',
|
|
||||||
'Operating System :: POSIX',
|
|
||||||
'Programming Language :: Python',
|
|
||||||
'Topic :: Internet',
|
|
||||||
'Topic :: Utilities',
|
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
||||||
'Topic :: Internet :: WWW/HTTP',
|
|
||||||
'Topic :: Internet :: WWW/HTTP :: WSGI',
|
|
||||||
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
|
|
||||||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
|
||||||
],
|
|
||||||
zip_safe = False,
|
zip_safe = False,
|
||||||
packages = find_packages(exclude=['examples', 'tests']),
|
packages = find_packages(exclude=['examples', 'tests']),
|
||||||
include_package_data = True,
|
include_package_data = True,
|
||||||
@ -66,6 +70,5 @@ setup(
|
|||||||
|
|
||||||
[paste.server_runner]
|
[paste.server_runner]
|
||||||
main=gunicorn.app.pasterapp:paste_server
|
main=gunicorn.app.pasterapp:paste_server
|
||||||
""",
|
"""
|
||||||
test_suite = 'nose.collector',
|
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user