diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-10-08 23:57:55 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-10-08 23:57:55 -0700 |
| commit | 23fbcac9c35c5f74a1258a72100518fcff3b03e3 (patch) | |
| tree | 3be7da5394525a7ed60d2a1c70572cdd579783f9 /docs/quick_tutorial/debugtoolbar.rst | |
| parent | 43da8c96b77342b9d2203da9f32dc6b8db04e2a8 (diff) | |
| download | pyramid-23fbcac9c35c5f74a1258a72100518fcff3b03e3.tar.gz pyramid-23fbcac9c35c5f74a1258a72100518fcff3b03e3.tar.bz2 pyramid-23fbcac9c35c5f74a1258a72100518fcff3b03e3.zip | |
Use correct invocation of `pip install - e ".[dev]"` instead of [testing]
Diffstat (limited to 'docs/quick_tutorial/debugtoolbar.rst')
| -rw-r--r-- | docs/quick_tutorial/debugtoolbar.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/quick_tutorial/debugtoolbar.rst b/docs/quick_tutorial/debugtoolbar.rst index dbd93a6cb..1c4d600d1 100644 --- a/docs/quick_tutorial/debugtoolbar.rst +++ b/docs/quick_tutorial/debugtoolbar.rst @@ -102,8 +102,9 @@ temporarily. Extra credit ============ -#. We added ``pyramid_debugtoolbar`` to the list of ``install_requires`` dependencies in ``debugtoolbar/setup.py`` because this tutorial is for development and educational purposes only. - In what cases would you *not* want to add ``pyramid_debugtoolbar`` to your dependencies? +#. We added ``pyramid_debugtoolbar`` to the list of ``dev_requires`` dependencies in ``debugtoolbar/setup.py``. + We then installed the dependencies via ``pip install -e ".[dev]"`` by virtue of the Setuptools ``extras_require`` value in the Python dictionary. + Why did we add them there instead of in the ``requires`` list? #. Introduce a bug into your application. Change: |
