From 05915720f97df868e0b7dcff6e9b8eed964b8a90 Mon Sep 17 00:00:00 2001
From: Steve Piercy <web@stevepiercy.com>
Date: Tue, 09 Oct 2018 17:20:26 +0200
Subject: [PATCH] Merge pull request #3380 from stevepiercy/docs-quick-tutorial-update

---
 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 86f1778..ea2c590 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'
+        ],
+    },
+)

--
Gitblit v1.9.3