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