-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
executable file
·58 lines (51 loc) · 1.71 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
import os
import sys
from setuptools import setup, find_packages
py_version = sys.version_info[:2]
if py_version < (3, 3):
raise Exception("aiopyramid requires Python >= 3.3.")
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as readme:
README = readme.read()
with open(os.path.join(here, 'CHANGES.rst')) as changes:
CHANGES = changes.read()
requires = [
'pyramid',
'greenlet',
]
if py_version < (3, 4):
requires.append('asyncio')
setup(
name='aiopyramid',
version='0.4.2',
description='Tools for running pyramid using asyncio.',
long_description=README + '\n\n\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Intended Audience :: Developers",
"License :: Repoze Public License",
],
author='Jason Housley',
author_email='[email protected]',
url='https://github.com/housleyjk/aiopyramid',
keywords='pyramid asyncio greenlet wsgi',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
extras_require={
'gunicorn': ['gunicorn>=19.1.1', 'aiohttp>=2.0.0,<3', 'aiohttp_wsgi>=0.7.0,<=0.7.1', 'websockets'],
},
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
entry_points="""\
[pyramid.scaffold]
aio_starter=aiopyramid.scaffolds:AioStarterTemplate
aio_websocket=aiopyramid.scaffolds:AioWebsocketTemplate
"""
)