diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-10-09 08:20:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-09 08:20:26 -0700 |
| commit | 05915720f97df868e0b7dcff6e9b8eed964b8a90 (patch) | |
| tree | 88bddf332ba5df5fb9822e7615e0652e4f41fa09 /docs/quick_tutorial/tutorial_approach.rst | |
| parent | 045951c2160c3431a319c9e662c34a6685cab007 (diff) | |
| parent | b15a06346148f6095adf17893490175abc95a494 (diff) | |
| download | pyramid-05915720f97df868e0b7dcff6e9b8eed964b8a90.tar.gz pyramid-05915720f97df868e0b7dcff6e9b8eed964b8a90.tar.bz2 pyramid-05915720f97df868e0b7dcff6e9b8eed964b8a90.zip | |
Merge pull request #3380 from stevepiercy/docs-quick-tutorial-update
Revise Quick Tutorial `setup.py`s
Diffstat (limited to 'docs/quick_tutorial/tutorial_approach.rst')
| -rw-r--r-- | docs/quick_tutorial/tutorial_approach.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/quick_tutorial/tutorial_approach.rst b/docs/quick_tutorial/tutorial_approach.rst index 7ef28bdb8..a16bce406 100644 --- a/docs/quick_tutorial/tutorial_approach.rst +++ b/docs/quick_tutorial/tutorial_approach.rst @@ -36,11 +36,13 @@ Each of the directories in our ``quick_tutorial`` workspace (e.g., ``request_res project* (except as noted for the ``hello_world`` step). The ``tutorial`` directory is a *Python package*. -For most steps you will copy the previous step's directory to a new directory, and change your working directory to the new directory, then install your project: +For most steps you will copy an earlier step's directory to a new directory, change your working directory to the new directory, then install your project: .. code-block:: bash cd ..; cp -r package ini; cd ini $VENV/bin/pip install -e . -For a few steps, you won't copy the previous step's directory, but you will still need to install your project with ``$VENV/bin/pip install -e .``. +For a few steps, you won't copy an earlier step's directory, but you will still need to install your project with ``$VENV/bin/pip install -e .``. + +Finally for a few steps, you might add a dependency to your project in its ``setup.py`` file, and then install both the dependency and the project with either ``$VENV/bin/pip install -e .`` or ``$VENV/bin/pip install -e ".[dev]"``. |
