Skip to content

Commit

Permalink
Add python optional step in binary installation sections (#853) (#862)
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
(cherry picked from commit 4fa7593)

Co-authored-by: Jesús Poderoso <[email protected]>
  • Loading branch information
mergify[bot] and JesusPoderoso authored Jul 10, 2024
1 parent 2a77b80 commit 79dd6ef
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
20 changes: 18 additions & 2 deletions docs/installation/binaries/binaries_linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ the :code:`install.sh` script with administrative privileges:
By default, *eProsima Fast DDS* does not compile tests. To activate them, please refer to the :ref:`linux_sources`
page.

To use the :ref:`cli_xml` validation tool, please refer to the :ref:`linux_sources` page.

.. _contents_bl:

Contents
Expand Down Expand Up @@ -92,6 +90,24 @@ For example in order to build the examples dynamically linked to **Fast-DDS** do
$ cmake -Bbuildexample -DBUILD_SHARED_LIBS=ON .
$ cmake --build buildexample --target install
.. _cli_bl:

Fast DDS CLI (optional)
-----------------------

The :ref:`Fast DDS CLI<ffastddscli_cli>` (Command Line Interface) is a tool that provides a set commands and
sub-commands to perform, Fast DDS related, maintenance and configuration tasks.
As an optional tool, its dependencies are not installed by default, but they can be installed by running the
following command:

.. code-block:: bash
sudo apt-get install python3 python3-pip
pip3 install xmlschema
Python3 is required to run the CLI tool, and the `xmlschema <https://pypi.org/project/xmlschema/>`_ dependency is
needed to use the :ref:`XML validation command<cli_xml>`.

.. _uninstall_bl:

Uninstall
Expand Down
19 changes: 19 additions & 0 deletions docs/installation/binaries/binaries_windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,22 @@ For example in order to build the examples dynamically linked to **Fast-DDS** do
> cmake -Bbuildexample -DBUILD_SHARED_LIBS=ON .
> cmake --build buildexample --target install
.. _cli_bw:

Fast DDS CLI (optional)
-----------------------

The :ref:`Fast DDS CLI<ffastddscli_cli>` (Command Line Interface) is a tool that provides a set commands and
sub-commands to perform, Fast DDS related, maintenance and configuration tasks.
As an optional tool, its dependencies are not installed by default, but they can be installed by running the
following command:

.. code-block:: bash
choco install python
python -m pip install --upgrade pywin32 xmlschema
Python3 is required to run the CLI tool, and the `xmlschema <https://pypi.org/project/xmlschema/>`_ dependency is
needed to use the :ref:`XML validation command<cli_xml>`.

0 comments on commit 79dd6ef

Please sign in to comment.