diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-10-09 08:20:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-09 08:20:26 -0700 |
| commit | 05915720f97df868e0b7dcff6e9b8eed964b8a90 (patch) | |
| tree | 88bddf332ba5df5fb9822e7615e0652e4f41fa09 /docs/quick_tutorial/jinja2/setup.py | |
| parent | 045951c2160c3431a319c9e662c34a6685cab007 (diff) | |
| parent | b15a06346148f6095adf17893490175abc95a494 (diff) | |
| download | pyramid-05915720f97df868e0b7dcff6e9b8eed964b8a90.tar.gz pyramid-05915720f97df868e0b7dcff6e9b8eed964b8a90.tar.bz2 pyramid-05915720f97df868e0b7dcff6e9b8eed964b8a90.zip | |
Merge pull request #3380 from stevepiercy/docs-quick-tutorial-update
Revise Quick Tutorial `setup.py`s
Diffstat (limited to 'docs/quick_tutorial/jinja2/setup.py')
| -rw-r--r-- | docs/quick_tutorial/jinja2/setup.py | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/docs/quick_tutorial/jinja2/setup.py b/docs/quick_tutorial/jinja2/setup.py index 86f177866..ea2c59045 100644 --- a/docs/quick_tutorial/jinja2/setup.py +++ b/docs/quick_tutorial/jinja2/setup.py @@ -1,23 +1,32 @@ from setuptools import setup +# List of dependencies installed via `pip install -e .` +# by virtue of the Setuptools `install_requires` value below. requires = [ 'pyramid', 'pyramid_chameleon', - 'pyramid_debugtoolbar', 'pyramid_jinja2', 'waitress', ] -setup(name='tutorial', - install_requires=requires, - extras_require={ - 'test': [ - 'pytest', - 'webtest', - ], - }, - entry_points="""\ - [paste.app_factory] - main = tutorial:main - """, - ) +# List of dependencies installed via `pip install -e ".[dev]"` +# 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' + ], + }, +) |
