commit | author | age
|
88995e
|
1 |
import os |
SP |
2 |
|
|
3 |
from setuptools import setup, find_packages |
|
4 |
|
|
5 |
here = os.path.abspath(os.path.dirname(__file__)) |
|
6 |
with open(os.path.join(here, 'README.txt')) as f: |
|
7 |
README = f.read() |
|
8 |
with open(os.path.join(here, 'CHANGES.txt')) as f: |
|
9 |
CHANGES = f.read() |
|
10 |
|
|
11 |
requires = [ |
85623b
|
12 |
'plaster_pastedeploy', |
SP |
13 |
'pyramid >= 1.9a', |
88995e
|
14 |
'pyramid_chameleon', |
SP |
15 |
'pyramid_debugtoolbar', |
85623b
|
16 |
'pyramid_retry', |
88995e
|
17 |
'pyramid_tm', |
SP |
18 |
'pyramid_zodbconn', |
|
19 |
'transaction', |
|
20 |
'ZODB3', |
|
21 |
'waitress', |
81bf14
|
22 |
] |
88995e
|
23 |
|
ebbe68
|
24 |
tests_require = [ |
88995e
|
25 |
'WebTest >= 1.3.1', # py3 compat |
81bf14
|
26 |
'pytest', |
88995e
|
27 |
'pytest-cov', |
81bf14
|
28 |
] |
88995e
|
29 |
|
81bf14
|
30 |
setup( |
SP |
31 |
name='tutorial', |
|
32 |
version='0.0', |
|
33 |
description='myproj', |
|
34 |
long_description=README + '\n\n' + CHANGES, |
|
35 |
classifiers=[ |
|
36 |
'Programming Language :: Python', |
|
37 |
'Framework :: Pyramid', |
|
38 |
'Topic :: Internet :: WWW/HTTP', |
|
39 |
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', |
|
40 |
], |
|
41 |
author='', |
|
42 |
author_email='', |
|
43 |
url='', |
|
44 |
keywords='web pyramid pylons', |
|
45 |
packages=find_packages(), |
|
46 |
include_package_data=True, |
|
47 |
zip_safe=False, |
|
48 |
extras_require={ |
|
49 |
'testing': tests_require, |
|
50 |
}, |
|
51 |
install_requires=requires, |
|
52 |
entry_points={ |
|
53 |
'paste.app_factory': [ |
|
54 |
'main = tutorial:main', |
|
55 |
], |
|
56 |
}, |
|
57 |
) |