mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
75 lines
2.2 KiB
Python
75 lines
2.2 KiB
Python
# -*- coding: utf-8 -
|
|
#
|
|
# This file is part of gunicorn released under the MIT license.
|
|
# See the NOTICE for more information.
|
|
|
|
|
|
import os
|
|
from setuptools import setup, find_packages
|
|
import sys
|
|
|
|
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(
|
|
name = 'gunicorn',
|
|
version = __version__,
|
|
|
|
description = 'WSGI HTTP Server for UNIX',
|
|
long_description = long_description,
|
|
author = 'Benoit Chesneau',
|
|
author_email = 'benoitc@e-engura.com',
|
|
license = 'MIT',
|
|
url = 'http://gunicorn.org',
|
|
|
|
classifiers = CLASSIFIERS,
|
|
zip_safe = False,
|
|
packages = find_packages(exclude=['examples', 'tests']),
|
|
include_package_data = True,
|
|
|
|
entry_points="""
|
|
|
|
[console_scripts]
|
|
gunicorn=gunicorn.app.wsgiapp:run
|
|
gunicorn_django=gunicorn.app.djangoapp:run
|
|
gunicorn_paster=gunicorn.app.pasterapp:run
|
|
|
|
[gunicorn.workers]
|
|
sync=gunicorn.workers.sync:SyncWorker
|
|
eventlet=gunicorn.workers.geventlet:EventletWorker
|
|
gevent=gunicorn.workers.ggevent:GeventWorker
|
|
gevent_wsgi=gunicorn.workers.ggevent:GeventPyWSGIWorker
|
|
gevent_pywsgi=gunicorn.workers.ggevent:GeventPyWSGIWorker
|
|
tornado=gunicorn.workers.gtornado:TornadoWorker
|
|
|
|
[gunicorn.loggers]
|
|
simple=gunicorn.glogging:Logger
|
|
|
|
[paste.server_runner]
|
|
main=gunicorn.app.pasterapp:paste_server
|
|
"""
|
|
)
|