summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-10-08 23:45:30 -0700
committerSteve Piercy <web@stevepiercy.com>2018-10-08 23:45:30 -0700
commit29f69b107313b3897280d10608f28a6fa5360e37 (patch)
treeb7201fc8cb680567934e76fc212dd73bfbdc029c /docs/quick_tutorial
parente73977d032b75b165084afba1595c1881b815a28 (diff)
downloadpyramid-29f69b107313b3897280d10608f28a6fa5360e37.tar.gz
pyramid-29f69b107313b3897280d10608f28a6fa5360e37.tar.bz2
pyramid-29f69b107313b3897280d10608f28a6fa5360e37.zip
Revise `setup.py`s
Diffstat (limited to 'docs/quick_tutorial')
-rw-r--r--docs/quick_tutorial/authentication/setup.py6
-rw-r--r--docs/quick_tutorial/authorization/setup.py6
-rw-r--r--docs/quick_tutorial/databases/setup.py6
-rw-r--r--docs/quick_tutorial/debugtoolbar/setup.py8
-rw-r--r--docs/quick_tutorial/forms/setup.py6
-rw-r--r--docs/quick_tutorial/functional_testing/setup.py6
-rw-r--r--docs/quick_tutorial/jinja2/setup.py6
-rw-r--r--docs/quick_tutorial/json/setup.py6
-rw-r--r--docs/quick_tutorial/logging/setup.py6
-rw-r--r--docs/quick_tutorial/more_view_classes/setup.py6
-rw-r--r--docs/quick_tutorial/request_response/setup.py6
-rw-r--r--docs/quick_tutorial/routing/setup.py6
-rw-r--r--docs/quick_tutorial/sessions/setup.py6
-rw-r--r--docs/quick_tutorial/static_assets/setup.py6
-rw-r--r--docs/quick_tutorial/templating/setup.py6
-rw-r--r--docs/quick_tutorial/unit_testing/setup.py6
-rw-r--r--docs/quick_tutorial/view_classes/setup.py6
-rw-r--r--docs/quick_tutorial/views/setup.py6
18 files changed, 58 insertions, 52 deletions
diff --git a/docs/quick_tutorial/authentication/setup.py b/docs/quick_tutorial/authentication/setup.py
index b38be63a3..5c51563af 100644
--- a/docs/quick_tutorial/authentication/setup.py
+++ b/docs/quick_tutorial/authentication/setup.py
@@ -6,14 +6,14 @@ requires = [
'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 @@ setup(
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 b38be63a3..5c51563af 100644
--- a/docs/quick_tutorial/authorization/setup.py
+++ b/docs/quick_tutorial/authorization/setup.py
@@ -6,14 +6,14 @@ requires = [
'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 @@ setup(
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 197617282..5d6935c57 100644
--- a/docs/quick_tutorial/databases/setup.py
+++ b/docs/quick_tutorial/databases/setup.py
@@ -6,7 +6,6 @@ requires = [
'deform',
'pyramid',
'pyramid_chameleon',
- 'pyramid_debugtoolbar',
'pyramid_tm',
'sqlalchemy',
'waitress',
@@ -16,7 +15,8 @@ requires = [
# 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 @@ setup(
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 5fee31f01..6120d7a2f 100644
--- a/docs/quick_tutorial/debugtoolbar/setup.py
+++ b/docs/quick_tutorial/debugtoolbar/setup.py
@@ -4,13 +4,19 @@ from setuptools import setup
# 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 f3e80f25e..bf3ddd1a6 100644
--- a/docs/quick_tutorial/forms/setup.py
+++ b/docs/quick_tutorial/forms/setup.py
@@ -6,14 +6,14 @@ requires = [
'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 @@ setup(
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 68a522ad7..278210299 100644
--- a/docs/quick_tutorial/functional_testing/setup.py
+++ b/docs/quick_tutorial/functional_testing/setup.py
@@ -4,14 +4,14 @@ from setuptools import setup
# 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 @@ setup(
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 6edd2ab39..fee95d267 100644
--- a/docs/quick_tutorial/jinja2/setup.py
+++ b/docs/quick_tutorial/jinja2/setup.py
@@ -5,7 +5,6 @@ from setuptools import setup
requires = [
'pyramid',
'pyramid_chameleon',
- 'pyramid_debugtoolbar',
'pyramid_jinja2',
'waitress',
]
@@ -13,7 +12,8 @@ requires = [
# 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 @@ setup(
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 a84fe79ee..0c980b613 100644
--- a/docs/quick_tutorial/json/setup.py
+++ b/docs/quick_tutorial/json/setup.py
@@ -5,14 +5,14 @@ from setuptools import setup
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 @@ setup(
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 a84fe79ee..0c980b613 100644
--- a/docs/quick_tutorial/logging/setup.py
+++ b/docs/quick_tutorial/logging/setup.py
@@ -5,14 +5,14 @@ from setuptools import setup
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 @@ setup(
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 a84fe79ee..0c980b613 100644
--- a/docs/quick_tutorial/more_view_classes/setup.py
+++ b/docs/quick_tutorial/more_view_classes/setup.py
@@ -5,14 +5,14 @@ from setuptools import setup
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 @@ setup(
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 a84fe79ee..0c980b613 100644
--- a/docs/quick_tutorial/request_response/setup.py
+++ b/docs/quick_tutorial/request_response/setup.py
@@ -5,14 +5,14 @@ from setuptools import setup
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 @@ setup(
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 a84fe79ee..0c980b613 100644
--- a/docs/quick_tutorial/routing/setup.py
+++ b/docs/quick_tutorial/routing/setup.py
@@ -5,14 +5,14 @@ from setuptools import setup
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 @@ setup(
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 a84fe79ee..0c980b613 100644
--- a/docs/quick_tutorial/sessions/setup.py
+++ b/docs/quick_tutorial/sessions/setup.py
@@ -5,14 +5,14 @@ from setuptools import setup
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 @@ setup(
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 a84fe79ee..0c980b613 100644
--- a/docs/quick_tutorial/static_assets/setup.py
+++ b/docs/quick_tutorial/static_assets/setup.py
@@ -5,14 +5,14 @@ from setuptools import setup
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 @@ setup(
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 a84fe79ee..0c980b613 100644
--- a/docs/quick_tutorial/templating/setup.py
+++ b/docs/quick_tutorial/templating/setup.py
@@ -5,14 +5,14 @@ from setuptools import setup
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 @@ setup(
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 34c750843..e9c773dab 100644
--- a/docs/quick_tutorial/unit_testing/setup.py
+++ b/docs/quick_tutorial/unit_testing/setup.py
@@ -4,14 +4,14 @@ from setuptools import setup
# 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 @@ setup(
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 a84fe79ee..0c980b613 100644
--- a/docs/quick_tutorial/view_classes/setup.py
+++ b/docs/quick_tutorial/view_classes/setup.py
@@ -5,14 +5,14 @@ from setuptools import setup
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 @@ setup(
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 68a522ad7..278210299 100644
--- a/docs/quick_tutorial/views/setup.py
+++ b/docs/quick_tutorial/views/setup.py
@@ -4,14 +4,14 @@ from setuptools import setup
# 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 @@ setup(
name='tutorial',
install_requires=requires,
extras_require={
- 'testing': tests_require,
+ 'dev': dev_requires,
},
entry_points={
'paste.app_factory': [