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