From 55213e18db4bb833619d710df0d4cf091ea8f44b Mon Sep 17 00:00:00 2001 From: gwen Date: Fri, 7 Nov 2025 22:02:28 +0100 Subject: [PATCH] third party libraries --- docs/install.rst | 14 +++++++++++++- docs/tutorial/preliminary.rst | 3 --- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/install.rst b/docs/install.rst index a1258917f..73d0e11c9 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -16,8 +16,20 @@ Standard installation You can use the `pip` python installer, here is the install command: -.. code-block:: text +.. code-block:: bash pip install rougail +Installation of third-party libraries +------------------------------------------- +First, download the :download:`requirements.txt file: ` + +.. literalinclude:: install/requirements.txt + :caption: The :file:`requirements.txt` requirements file + +Then in your virtual environment, recursively install the third-party libraries as follows: + +.. code-block:: bash + + pip install -r requirements.txt --extra-index-url https://test.pypi.org/simple/ diff --git a/docs/tutorial/preliminary.rst b/docs/tutorial/preliminary.rst index f695cfab0..cadec68d9 100644 --- a/docs/tutorial/preliminary.rst +++ b/docs/tutorial/preliminary.rst @@ -120,7 +120,6 @@ Let's add a variable's description, which is not mandatory but which is a good p :tutorial:`Download this file from the rougail-tutorials git repository ` - .. type-along:: how to set a value -- the default value We need to set a value to this `proxy_mode` variable. A first way to do it is *to set a value by default*. @@ -145,8 +144,6 @@ So let's define a variable with a description -- **and a default value** :tutorial:`Download this file from the rougail-tutorials git repository ` - - .. type-along:: how to set a value -- the assignment A default value has been set, great. Now how do I assign a value to a variable?