diff --git a/trytond/doc/tutorial/module/model.rst b/trytond/doc/tutorial/module/model.rst index cf61ac4126..966d9e5ff7 100644 --- a/trytond/doc/tutorial/module/model.rst +++ b/trytond/doc/tutorial/module/model.rst @@ -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: diff --git a/trytond/doc/tutorial/module/setup.rst b/trytond/doc/tutorial/module/setup.rst index 5bb7188142..b978036b8c 100644 --- a/trytond/doc/tutorial/module/setup.rst +++ b/trytond/doc/tutorial/module/setup.rst @@ -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 `