Update tutorial to use PEP517 when installing in editable mode

Closes #12701
This commit is contained in:
Cédric Krier
2023-11-20 00:00:26 +01:00
parent fd652d4b4f
commit 2cc7faec53
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ As we defined a new dependency, we must refresh the installation with:
.. code-block:: console
$ python -m pip install --editable opportunity
$ python -m pip install --use-pep517 --editable opportunity
Now we can activate the ``opportunity`` module and its dependencies:
+2 -1
View File
@@ -15,6 +15,7 @@ Let's create a virtual environment inside your working directory:
$ python -m venv .venv
$ source .venv/bin/activate
$ python -m pip install --upgrade pip
Install cookiecutter and mercurial
----------------------------------
@@ -57,7 +58,7 @@ Now we can install the new module in editable mode:
.. code-block:: console
$ python -m pip install --editable opportunity
$ python -m pip install --use-pep517 --editable opportunity
Continue with :ref:`initializing the database <tutorial-module-setup-database>`