Steve Piercy
2018-10-09 29f69b107313b3897280d10608f28a6fa5360e37
commit | author | age
b1b922 1 from setuptools import setup
PE 2
307313 3 # List of dependencies installed via `pip install -e .`.
SP 4 # by virtue of the Setuptools `install_requires` value below.
b1b922 5 requires = [
PE 6     'deform',
e68e30 7     'pyramid',
RR 8     'pyramid_chameleon',
b1b922 9     'pyramid_tm',
e68e30 10     'sqlalchemy',
RR 11     'waitress',
12     'zope.sqlalchemy',
b1b922 13 ]
PE 14
307313 15 # List of dependencies installed via `pip install -e ".[testing]"`
SP 16 # by virtue of the Setuptools `extras_require` value in the Python
17 # dictionary below.
29f69b 18 dev_requires = [
SP 19     'pyramid_debugtoolbar',
307313 20     'pytest',
SP 21     'webtest',
22 ]
23
24 setup(
25     name='tutorial',
26     install_requires=requires,
27     extras_require={
29f69b 28         'dev': dev_requires,
307313 29     },
SP 30     entry_points={
31         'paste.app_factory': [
32             'main = tutorial:main'
33         ],
34         'console_scripts': [
35             'initialize_tutorial_db = tutorial.initialize_db:main'
36         ],
37     },
38 )