commit | author | age
|
c90471
|
1 |
import os |
PE |
2 |
|
|
3 |
from setuptools import setup, find_packages |
|
4 |
|
|
5 |
here = os.path.abspath(os.path.dirname(__file__)) |
414b67
|
6 |
with open(os.path.join(here, 'README.txt')) as f: |
MM |
7 |
README = f.read() |
|
8 |
with open(os.path.join(here, 'CHANGES.txt')) as f: |
|
9 |
CHANGES = f.read() |
c90471
|
10 |
|
PE |
11 |
requires = [ |
65a6d3
|
12 |
'plaster_pastedeploy', |
SP |
13 |
'pyramid >= 1.9a', |
414b67
|
14 |
'pyramid_debugtoolbar', |
65a6d3
|
15 |
'pyramid_jinja2', |
SP |
16 |
'pyramid_retry', |
414b67
|
17 |
'pyramid_tm', |
c90471
|
18 |
'SQLAlchemy', |
PE |
19 |
'transaction', |
|
20 |
'zope.sqlalchemy', |
|
21 |
'waitress', |
b488f7
|
22 |
] |
c90471
|
23 |
|
b488f7
|
24 |
tests_require = [ |
SP |
25 |
'WebTest >= 1.3.1', # py3 compat |
|
26 |
'pytest', |
|
27 |
'pytest-cov', |
|
28 |
] |
|
29 |
|
|
30 |
setup( |
|
31 |
name='sqla_demo', |
|
32 |
version='0.0', |
|
33 |
description='sqla_demo', |
|
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 = sqla_demo:main', |
c90471
|
55 |
], |
b488f7
|
56 |
'console_scripts': [ |
SP |
57 |
'initialize_sqla_demo_db = sqla_demo.scripts.initializedb:main', |
|
58 |
], |
|
59 |
}, |
|
60 |
) |