Steve Piercy
2017-06-11 85623b13b3790dcfae53697f282e9f8e68736e35
commit | author | age
6c9959 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()
6c9959 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',
6c9959 20     'ZODB3',
030d10 21     'waitress',
6c9959 22     'docutils',
b01a02 23     'bcrypt',
d5f734 24 ]
63dcf9 25
ebbe68 26 tests_require = [
63dcf9 27     'WebTest >= 1.3.1',  # py3 compat
d5f734 28     'pytest',
63dcf9 29     'pytest-cov',
d5f734 30 ]
6c9959 31
d5f734 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 )