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 = [
2c0e3e 12     'plaster_pastedeploy',
SP 13     'pyramid >= 1.9a',
404b28 14     'pyramid_debugtoolbar',
2c0e3e 15     'pyramid_jinja2',
SP 16     'pyramid_retry',
404b28 17     'pyramid_tm',
e26700 18     'SQLAlchemy',
CM 19     'transaction',
20     'zope.sqlalchemy',
030d10 21     'waitress',
7e93ce 22 ]
e26700 23
ebbe68 24 tests_require = [
b93b01 25     'WebTest >= 1.3.1',  # py3 compat
7e93ce 26     'pytest',
b93b01 27     'pytest-cov',
7e93ce 28 ]
91f7ed 29
7e93ce 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         'console_scripts': [
57             'initialize_tutorial_db = tutorial.scripts.initializedb:main',
58         ],
59     },
60 )