Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix colcon python warnings #3742

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@ You can either install ``webots_ros2`` from the official released package, or in
sudo rosdep init && rosdep update
rosdep install --from-paths src --ignore-src --rosdistro {DISTRO}

Fix some `python warnings <https://robotics.stackexchange.com/questions/24230/setuptoolsdeprecationwarning-in-ros2-humble/24349#24349>`_ (if not already done)

.. code-block:: console

echo 'export PYTHONWARNINGS="ignore:setup.py install is deprecated::setuptools.command.install"' >> ~/.bashrc
source ~/.bashrc

Build the package using ``colcon``.

.. code-block:: console
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ You can either install the official released package, or install it from the lat
sudo rosdep init && rosdep update
rosdep install --from-paths src --ignore-src --rosdistro {DISTRO}

Fix some `python warnings <https://robotics.stackexchange.com/questions/24230/setuptoolsdeprecationwarning-in-ros2-humble/24349#24349>`_ (if not already done)

.. code-block:: console

echo 'export PYTHONWARNINGS="ignore:setup.py install is deprecated::setuptools.command.install"' >> ~/.bashrc
source ~/.bashrc

Build the package using ``colcon``.

.. code-block:: console
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ The following commands must be run inside the WSL environment.
sudo rosdep init && rosdep update
rosdep install --from-paths src --ignore-src --rosdistro {DISTRO}

Fix some `python warnings <https://robotics.stackexchange.com/questions/24230/setuptoolsdeprecationwarning-in-ros2-humble/24349#24349>`_ (if not already done)

.. code-block:: console

echo 'export PYTHONWARNINGS="ignore:setup.py install is deprecated::setuptools.command.install"' >> ~/.bashrc
source ~/.bashrc

Build the package using ``colcon``.

.. code-block:: console
Expand Down