Michael Merickel
2017-06-11 06c28384c1217e054f530df511b434ff543e3132
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',
0996da 22     'docutils',
e03ea9 23 ]
e53e13 24
ebbe68 25 tests_require = [
b8f579 26     'WebTest >= 1.3.1',  # py3 compat
e03ea9 27     'pytest',
b8f579 28     'pytest-cov',
e03ea9 29 ]
b8f579 30
e03ea9 31 setup(
SP 32     name='tutorial',
33     version='0.0',
34     description='myproj',
35     long_description=README + '\n\n' + CHANGES,
36     classifiers=[
37         'Programming Language :: Python',
38         'Framework :: Pyramid',
39         'Topic :: Internet :: WWW/HTTP',
40         'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
41     ],
42     author='',
43     author_email='',
44     url='',
45     keywords='web pyramid pylons',
46     packages=find_packages(),
47     include_package_data=True,
48     zip_safe=False,
49     extras_require={
50         'testing': tests_require,
51     },
52     install_requires=requires,
53     entry_points={
54         'paste.app_factory': [
55             'main = tutorial:main',
56         ],
57     },
58 )