summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/debugtoolbar/setup.py
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-10-09 08:20:26 -0700
committerGitHub <noreply@github.com>2018-10-09 08:20:26 -0700
commit05915720f97df868e0b7dcff6e9b8eed964b8a90 (patch)
tree88bddf332ba5df5fb9822e7615e0652e4f41fa09 /docs/quick_tutorial/debugtoolbar/setup.py
parent045951c2160c3431a319c9e662c34a6685cab007 (diff)
parentb15a06346148f6095adf17893490175abc95a494 (diff)
downloadpyramid-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/debugtoolbar/setup.py')
-rw-r--r--docs/quick_tutorial/debugtoolbar/setup.py29
1 files changed, 21 insertions, 8 deletions
diff --git a/docs/quick_tutorial/debugtoolbar/setup.py b/docs/quick_tutorial/debugtoolbar/setup.py
index a947e20d8..53bc0f5c7 100644
--- a/docs/quick_tutorial/debugtoolbar/setup.py
+++ b/docs/quick_tutorial/debugtoolbar/setup.py
@@ -1,15 +1,28 @@
from setuptools import setup
+# List of dependencies installed via `pip install -e .`
+# by virtue of the Setuptools `install_requires` value below.
requires = [
'pyramid',
- 'pyramid_debugtoolbar',
'waitress',
]
-setup(name='tutorial',
- install_requires=requires,
- 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',
+]
+
+setup(
+ name='tutorial',
+ install_requires=requires,
+ extras_require={
+ 'dev': dev_requires,
+ },
+ entry_points={
+ 'paste.app_factory': [
+ 'main = tutorial:main'
+ ],
+ },
+)