Michael Merickel
2017-06-18 75c30dfe18b26ca04efae2acbe35052fa0d93ed6
commit | author | age
458d51 1 import os
SP 2
3 from setuptools import setup, find_packages
4
5 here = os.path.abspath(os.path.dirname(__file__))
6 with open(os.path.join(here, 'README.txt')) as f:
7     README = f.read()
8 with open(os.path.join(here, 'CHANGES.txt')) as f:
9     CHANGES = f.read()
10
11 requires = [
2c0e3e 12     'plaster_pastedeploy',
SP 13     'pyramid >= 1.9a',
458d51 14     'pyramid_debugtoolbar',
2c0e3e 15     'pyramid_jinja2',
SP 16     'pyramid_retry',
458d51 17     'pyramid_tm',
SP 18     'SQLAlchemy',
19     'transaction',
20     'zope.sqlalchemy',
21     'waitress',
293942 22 ]
458d51 23
ebbe68 24 tests_require = [
458d51 25     'WebTest >= 1.3.1',  # py3 compat
293942 26     'pytest',
458d51 27     'pytest-cov',
293942 28 ]
458d51 29
293942 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 )