commit | author | age
|
e61f33
|
1 |
import os |
TS |
2 |
|
|
3 |
from setuptools import setup, find_packages |
|
4 |
|
|
5 |
here = os.path.abspath(os.path.dirname(__file__)) |
eb3cee
|
6 |
with open(os.path.join(here, 'README.txt')) as f: |
TL |
7 |
README = f.read() |
|
8 |
with open(os.path.join(here, 'CHANGES.txt')) as f: |
|
9 |
CHANGES = f.read() |
e61f33
|
10 |
|
9d1701
|
11 |
requires = [ |
e11fd4
|
12 |
'pyramid', |
b28964
|
13 |
'pyramid_chameleon', |
MM |
14 |
'pyramid_debugtoolbar', |
|
15 |
'pyramid_tm', |
b25335
|
16 |
'pyramid_zodbconn', |
4e5e55
|
17 |
'transaction', |
9d1701
|
18 |
'ZODB3', |
030d10
|
19 |
'waitress', |
9d1701
|
20 |
] |
CM |
21 |
|
ebbe68
|
22 |
tests_require = [ |
aa107f
|
23 |
'WebTest >= 1.3.1', # py3 compat |
SP |
24 |
'pytest', # includes virtualenv |
|
25 |
'pytest-cov', |
|
26 |
] |
|
27 |
|
e61f33
|
28 |
setup(name='{{project}}', |
e1bb8a
|
29 |
version='0.0', |
e61f33
|
30 |
description='{{project}}', |
877eeb
|
31 |
long_description=README + '\n\n' + CHANGES, |
e61f33
|
32 |
classifiers=[ |
aa107f
|
33 |
"Programming Language :: Python", |
SP |
34 |
"Framework :: Pyramid", |
|
35 |
"Topic :: Internet :: WWW/HTTP", |
|
36 |
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application", |
|
37 |
], |
e61f33
|
38 |
author='', |
TS |
39 |
author_email='', |
|
40 |
url='', |
9cca72
|
41 |
keywords='web pylons pyramid', |
e61f33
|
42 |
packages=find_packages(), |
TS |
43 |
include_package_data=True, |
|
44 |
zip_safe=False, |
aa107f
|
45 |
extras_require={ |
ebbe68
|
46 |
'testing': tests_require, |
aa107f
|
47 |
}, |
877eeb
|
48 |
install_requires=requires, |
GP |
49 |
entry_points="""\ |
e61f33
|
50 |
[paste.app_factory] |
9cca72
|
51 |
main = {{package}}:main |
159cd0
|
52 |
""", |
e61f33
|
53 |
) |