summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/authorization/setup.py
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-10-08 02:12:00 -0700
committerSteve Piercy <web@stevepiercy.com>2018-10-08 02:12:00 -0700
commit307313574f9726d1c03639114d1c976535c9b968 (patch)
treeb8fab435de6c6dcf21e4172b831ff2eef27acaeb /docs/quick_tutorial/authorization/setup.py
parent3a943e8b3a388938a93de82a16b0bc5b25eaf48a (diff)
downloadpyramid-307313574f9726d1c03639114d1c976535c9b968.tar.gz
pyramid-307313574f9726d1c03639114d1c976535c9b968.tar.bz2
pyramid-307313574f9726d1c03639114d1c976535c9b968.zip
Update all the `setup.py`s
Diffstat (limited to 'docs/quick_tutorial/authorization/setup.py')
-rw-r--r--docs/quick_tutorial/authorization/setup.py35
1 files changed, 22 insertions, 13 deletions
diff --git a/docs/quick_tutorial/authorization/setup.py b/docs/quick_tutorial/authorization/setup.py
index 05104b158..b38be63a3 100644
--- a/docs/quick_tutorial/authorization/setup.py
+++ b/docs/quick_tutorial/authorization/setup.py
@@ -1,5 +1,7 @@
from setuptools import setup
+# List of dependencies installed via `pip install -e .`.
+# by virtue of the Setuptools `install_requires` value below.
requires = [
'bcrypt',
'pyramid',
@@ -8,16 +10,23 @@ requires = [
'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 ".[testing]"`
+# by virtue of the Setuptools `extras_require` value in the Python
+# dictionary below.
+tests_require = [
+ 'pytest',
+ 'webtest',
+]
+
+setup(
+ name='tutorial',
+ install_requires=requires,
+ extras_require={
+ 'testing': tests_require,
+ },
+ entry_points={
+ 'paste.app_factory': [
+ 'main = tutorial:main'
+ ],
+ },
+)