Michael Merickel
2017-06-18 75c30dfe18b26ca04efae2acbe35052fa0d93ed6
commit | author | age
e26700 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()
e26700 10
CM 11 requires = [
81e598 12     'bcrypt',
2c0e3e 13     'plaster_pastedeploy',
SP 14     'pyramid >= 1.9a',
404b28 15     'pyramid_debugtoolbar',
2c0e3e 16     'pyramid_jinja2',
SP 17     'pyramid_retry',
404b28 18     'pyramid_tm',
e26700 19     'SQLAlchemy',
CM 20     'transaction',
21     'zope.sqlalchemy',
030d10 22     'waitress',
34a21b 23 ]
e26700 24
ebbe68 25 tests_require = [
9ff535 26     'WebTest >= 1.3.1',  # py3 compat
34a21b 27     'pytest',
9ff535 28     'pytest-cov',
34a21b 29 ]
91f7ed 30
34a21b 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         'console_scripts': [
58             'initialize_tutorial_db = tutorial.scripts.initializedb:main',
59         ],
60     },
61 )