summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/databases/setup.py
blob: 5d6935c5722ad0c9db99b5494b042196cd5912e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
from setuptools import setup

# List of dependencies installed via `pip install -e .`.
# by virtue of the Setuptools `install_requires` value below.
requires = [
    'deform',
    'pyramid',
    'pyramid_chameleon',
    'pyramid_tm',
    'sqlalchemy',
    'waitress',
    'zope.sqlalchemy',
]

# List of dependencies installed via `pip install -e ".[testing]"`
# by virtue of the Setuptools `extras_require` value in the Python
# dictionary below.
dev_requires = [
    'pyramid_debugtoolbar',
    'pytest',
    'webtest',
]

setup(
    name='tutorial',
    install_requires=requires,
    extras_require={
        'dev': dev_requires,
    },
    entry_points={
        'paste.app_factory': [
            'main = tutorial:main'
        ],
        'console_scripts': [
            'initialize_tutorial_db = tutorial.initialize_db:main'
        ],
    },
)