Update tutorial to use PEP517 when installing in editable mode
Closes #12701
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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>`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user