Michael Merickel
2017-06-18 75c30dfe18b26ca04efae2acbe35052fa0d93ed6
commit | author | age
e53e13 1 import os
CM 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()
e53e13 10
CM 11 requires = [
85623b 12     'plaster_pastedeploy',
SP 13     'pyramid >= 1.9a',
404b28 14     'pyramid_chameleon',
a940e1 15     'pyramid_debugtoolbar',
85623b 16     'pyramid_retry',
a940e1 17     'pyramid_tm',
b25335 18     'pyramid_zodbconn',
5b60d0 19     'transaction',
55e60c 20     'ZODB3',
030d10 21     'waitress',
9e5dcc 22 ]
e53e13 23
ebbe68 24 tests_require = [
f5a9a5 25     'WebTest >= 1.3.1',  # py3 compat
9e5dcc 26     'pytest',
f5a9a5 27     'pytest-cov',
9e5dcc 28 ]
f5a9a5 29
9e5dcc 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 )