diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-10-08 01:45:32 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-10-08 01:47:02 -0700 |
| commit | 3a943e8b3a388938a93de82a16b0bc5b25eaf48a (patch) | |
| tree | 40e019c6162839ee9a09295302dbbe5a43687cd5 /docs/quick_tutorial/tutorial_approach.rst | |
| parent | 410a11a1d448c772ca1a5a4ec4a3946e0f88d20a (diff) | |
| download | pyramid-3a943e8b3a388938a93de82a16b0bc5b25eaf48a.tar.gz pyramid-3a943e8b3a388938a93de82a16b0bc5b25eaf48a.tar.bz2 pyramid-3a943e8b3a388938a93de82a16b0bc5b25eaf48a.zip | |
Some steps are not the previous, but earlier.
Mention that we may now configure setup.py and run pip install variants.
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..0b9212e62 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 ".[testing]"``. |
