-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
62 lines (58 loc) · 2.13 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import os
import sys
from setuptools import setup, Extension, find_packages
ext_modules = []
# C speedups are no good for PyPy
if '__pypy__' not in sys.builtin_module_names:
if os.name == "nt":
ext_modules.append(
Extension('gevent_fastcgi.speedups', ['gevent_fastcgi/speedups.c'], libraries=["Ws2_32"]))
else:
ext_modules.append(
Extension('gevent_fastcgi.speedups', ['gevent_fastcgi/speedups.c']))
setup(
name='gevent-fastcgi',
version='1.1.0.0',
description='''FastCGI/WSGI client and server implemented using gevent
library''',
long_description='''
FastCGI/WSGI server implementation using gevent library. No need to
monkeypatch and slow down your favourite FastCGI server in order to make
it "green".
Supports connection multiplexing. Out-of-the-box support for Django and
frameworks that use PasteDeploy including Pylons and Pyramid.
''',
keywords='fastcgi gevent wsgi',
author='Alexander Kulakov',
author_email='[email protected]',
url='http://github.com/momyc/gevent-fastcgi',
packages=find_packages(exclude=('gevent_fastcgi.tests.*',)),
zip_safe=True,
license='MIT',
install_requires=[
"zope.interface>=3.8.0",
"gevent>=0.13.6",
"six",
],
entry_points={
'paste.server_runner': [
'fastcgi = gevent_fastcgi.adapters.paste_deploy:fastcgi_server_runner',
'wsgi = gevent_fastcgi.adapters.paste_deploy:wsgi_server_runner',
'wsgiref = gevent_fastcgi.adapters.paste_deploy:wsgiref_server_runner',
],
},
classifiers=(
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
),
test_suite="tests",
tests_require=['mock'],
ext_modules=ext_modules
)