-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
104 lines (92 loc) · 2.03 KB
/
setup.py
File metadata and controls
104 lines (92 loc) · 2.03 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, *('doc', 'README.rst'))) as f:
README = f.read()
with open(os.path.join(here, 'CHANGELOG')) as f:
CHANGES = f.read()
requires = [
'beaker',
'bleach',
'markdown',
'Paste',
'PasteScript',
'python-dotenv',
'pyramid',
'pyramid_assetviews',
'pyramid_beaker',
'pyramid_mako',
'pyramid_secure_response',
'PyYAML',
'webob',
'wsgi-basic-auth',
]
if sys.version_info[0] < 3: # python 2.7
requires.extend([
'ipaddress',
'typing',
'pytz',
])
development_requires = [
'colorlog',
'better_exceptions',
'pylibmc',
'waitress',
'flake8',
'flake8_docstrings',
'pydocstyle',
'pycodestyle',
'pyflakes',
'pylint',
]
testing_requires = [
'colorlog',
'better_exceptions',
'python-memcached',
'flake8',
'flake8_docstrings',
'pydocstyle',
'pycodestyle',
'pyflakes',
'pylint',
'pytest',
'pytest-cov',
'pytest-mock',
'WebTest',
]
production_requires = [
'CherryPy',
]
setup(
name='willisau',
version='0.0.1',
description='willisau',
long_description=README + '\n\n' + CHANGES,
classifiers=[
'Programming Language :: Python',
'Framework :: Pyramid',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
author='',
author_email='',
url='',
keywords='web wsgi pylons pyramid',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
extras_require={
'development': development_requires,
'testing': testing_requires,
'production': production_requires,
},
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = willisau:main
[console_scripts]
willisau_pserve = willisau.scripts.pserve:main
willisau_pstart = willisau.scripts.pstart:main
""",
)