From 29f69b107313b3897280d10608f28a6fa5360e37 Mon Sep 17 00:00:00 2001
From: Steve Piercy <web@stevepiercy.com>
Date: Tue, 09 Oct 2018 08:45:30 +0200
Subject: [PATCH] Revise `setup.py`s

---
 docs/quick_tutorial/authorization/setup.py      |    6 +-
 docs/quick_tutorial/logging/setup.py            |    6 +-
 docs/quick_tutorial/authentication/setup.py     |    6 +-
 docs/quick_tutorial/json/setup.py               |    6 +-
 docs/quick_tutorial/unit_testing/setup.py       |    6 +-
 docs/quick_tutorial/functional_testing/setup.py |    6 +-
 docs/quick_tutorial/view_classes/setup.py       |    6 +-
 docs/quick_tutorial/sessions/setup.py           |    6 +-
 docs/quick_tutorial/more_view_classes/setup.py  |    6 +-
 docs/quick_tutorial/debugtoolbar/setup.py       |    8 +++
 docs/quick_tutorial/routing/setup.py            |    6 +-
 docs/quick_tutorial/jinja2/setup.py             |    6 +-
 docs/quick_tutorial/views/setup.py              |    6 +-
 docs/quick_tutorial/databases/setup.py          |    6 +-
 docs/quick_tutorial/static_assets/setup.py      |    6 +-
 docs/quick_tutorial/request_response/setup.py   |    6 +-
 docs/quick_tutorial/templating/setup.py         |    6 +-
 docs/quick_tutorial/forms/setup.py              |    6 +-
 18 files changed, 58 insertions(+), 52 deletions(-)

diff --git a/docs/quick_tutorial/authentication/setup.py b/docs/quick_tutorial/authentication/setup.py
index b38be63..5c51563 100644
--- a/docs/quick_tutorial/authentication/setup.py
+++ b/docs/quick_tutorial/authentication/setup.py
@@ -6,14 +6,14 @@
     'bcrypt',
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -22,7 +22,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/authorization/setup.py b/docs/quick_tutorial/authorization/setup.py
index b38be63..5c51563 100644
--- a/docs/quick_tutorial/authorization/setup.py
+++ b/docs/quick_tutorial/authorization/setup.py
@@ -6,14 +6,14 @@
     'bcrypt',
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -22,7 +22,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/databases/setup.py b/docs/quick_tutorial/databases/setup.py
index 1976172..5d6935c 100644
--- a/docs/quick_tutorial/databases/setup.py
+++ b/docs/quick_tutorial/databases/setup.py
@@ -6,7 +6,6 @@
     'deform',
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'pyramid_tm',
     'sqlalchemy',
     'waitress',
@@ -16,7 +15,8 @@
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -25,7 +25,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/debugtoolbar/setup.py b/docs/quick_tutorial/debugtoolbar/setup.py
index 5fee31f..6120d7a 100644
--- a/docs/quick_tutorial/debugtoolbar/setup.py
+++ b/docs/quick_tutorial/debugtoolbar/setup.py
@@ -4,13 +4,19 @@
 # by virtue of the Setuptools `install_requires` value below.
 requires = [
     'pyramid',
-    'pyramid_debugtoolbar',
     'waitress',
+]
+
+dev_requires = [
+    'pyramid_debugtoolbar',
 ]
 
 setup(
     name='tutorial',
     install_requires=requires,
+    extras_require={
+        'dev': dev_requires,
+    },
     entry_points={
         'paste.app_factory': [
             'main = tutorial:main'
diff --git a/docs/quick_tutorial/forms/setup.py b/docs/quick_tutorial/forms/setup.py
index f3e80f2..bf3ddd1 100644
--- a/docs/quick_tutorial/forms/setup.py
+++ b/docs/quick_tutorial/forms/setup.py
@@ -6,14 +6,14 @@
     'deform',
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -22,7 +22,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/functional_testing/setup.py b/docs/quick_tutorial/functional_testing/setup.py
index 68a522a..2782102 100644
--- a/docs/quick_tutorial/functional_testing/setup.py
+++ b/docs/quick_tutorial/functional_testing/setup.py
@@ -4,14 +4,14 @@
 # by virtue of the Setuptools `install_requires` value below.
 requires = [
     'pyramid',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -20,7 +20,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/jinja2/setup.py b/docs/quick_tutorial/jinja2/setup.py
index 6edd2ab..fee95d2 100644
--- a/docs/quick_tutorial/jinja2/setup.py
+++ b/docs/quick_tutorial/jinja2/setup.py
@@ -5,7 +5,6 @@
 requires = [
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'pyramid_jinja2',
     'waitress',
 ]
@@ -13,7 +12,8 @@
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -22,7 +22,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/json/setup.py b/docs/quick_tutorial/json/setup.py
index a84fe79..0c980b6 100644
--- a/docs/quick_tutorial/json/setup.py
+++ b/docs/quick_tutorial/json/setup.py
@@ -5,14 +5,14 @@
 requires = [
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -21,7 +21,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/logging/setup.py b/docs/quick_tutorial/logging/setup.py
index a84fe79..0c980b6 100644
--- a/docs/quick_tutorial/logging/setup.py
+++ b/docs/quick_tutorial/logging/setup.py
@@ -5,14 +5,14 @@
 requires = [
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -21,7 +21,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/more_view_classes/setup.py b/docs/quick_tutorial/more_view_classes/setup.py
index a84fe79..0c980b6 100644
--- a/docs/quick_tutorial/more_view_classes/setup.py
+++ b/docs/quick_tutorial/more_view_classes/setup.py
@@ -5,14 +5,14 @@
 requires = [
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -21,7 +21,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/request_response/setup.py b/docs/quick_tutorial/request_response/setup.py
index a84fe79..0c980b6 100644
--- a/docs/quick_tutorial/request_response/setup.py
+++ b/docs/quick_tutorial/request_response/setup.py
@@ -5,14 +5,14 @@
 requires = [
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -21,7 +21,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/routing/setup.py b/docs/quick_tutorial/routing/setup.py
index a84fe79..0c980b6 100644
--- a/docs/quick_tutorial/routing/setup.py
+++ b/docs/quick_tutorial/routing/setup.py
@@ -5,14 +5,14 @@
 requires = [
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -21,7 +21,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/sessions/setup.py b/docs/quick_tutorial/sessions/setup.py
index a84fe79..0c980b6 100644
--- a/docs/quick_tutorial/sessions/setup.py
+++ b/docs/quick_tutorial/sessions/setup.py
@@ -5,14 +5,14 @@
 requires = [
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -21,7 +21,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/static_assets/setup.py b/docs/quick_tutorial/static_assets/setup.py
index a84fe79..0c980b6 100644
--- a/docs/quick_tutorial/static_assets/setup.py
+++ b/docs/quick_tutorial/static_assets/setup.py
@@ -5,14 +5,14 @@
 requires = [
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -21,7 +21,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/templating/setup.py b/docs/quick_tutorial/templating/setup.py
index a84fe79..0c980b6 100644
--- a/docs/quick_tutorial/templating/setup.py
+++ b/docs/quick_tutorial/templating/setup.py
@@ -5,14 +5,14 @@
 requires = [
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -21,7 +21,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/unit_testing/setup.py b/docs/quick_tutorial/unit_testing/setup.py
index 34c7508..e9c773d 100644
--- a/docs/quick_tutorial/unit_testing/setup.py
+++ b/docs/quick_tutorial/unit_testing/setup.py
@@ -4,14 +4,14 @@
 # by virtue of the Setuptools `install_requires` value below.
 requires = [
     'pyramid',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
 ]
 
@@ -19,7 +19,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/view_classes/setup.py b/docs/quick_tutorial/view_classes/setup.py
index a84fe79..0c980b6 100644
--- a/docs/quick_tutorial/view_classes/setup.py
+++ b/docs/quick_tutorial/view_classes/setup.py
@@ -5,14 +5,14 @@
 requires = [
     'pyramid',
     'pyramid_chameleon',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -21,7 +21,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [
diff --git a/docs/quick_tutorial/views/setup.py b/docs/quick_tutorial/views/setup.py
index 68a522a..2782102 100644
--- a/docs/quick_tutorial/views/setup.py
+++ b/docs/quick_tutorial/views/setup.py
@@ -4,14 +4,14 @@
 # by virtue of the Setuptools `install_requires` value below.
 requires = [
     'pyramid',
-    'pyramid_debugtoolbar',
     'waitress',
 ]
 
 # List of dependencies installed via `pip install -e ".[testing]"`
 # by virtue of the Setuptools `extras_require` value in the Python
 # dictionary below.
-tests_require = [
+dev_requires = [
+    'pyramid_debugtoolbar',
     'pytest',
     'webtest',
 ]
@@ -20,7 +20,7 @@
     name='tutorial',
     install_requires=requires,
     extras_require={
-        'testing': tests_require,
+        'dev': dev_requires,
     },
     entry_points={
         'paste.app_factory': [

--
Gitblit v1.9.3