From 6450831b31e2ea454c04f4464a86d75fef5a39e0 Mon Sep 17 00:00:00 2001 From: Pierre Gergondet Date: Mon, 20 Jan 2025 22:40:11 +0900 Subject: [PATCH] Add missing entry to PYTHONPATH for Humble --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index e85bf22..8029888 100755 --- a/debian/rules +++ b/debian/rules @@ -7,6 +7,7 @@ export ROS_PYTHON_VERSION:=$(shell . /opt/ros/${ROS_DISTRO}/setup.sh && echo $$R ifeq (${ROS_PYTHON_VERSION}, 3) export PYTHONPATH:=/opt/ros/${ROS_DISTRO}/lib/python3/dist-packages:${PYTHONPATH} export PYTHONPATH:=/opt/ros/${ROS_DISTRO}/lib/python$(shell python3 -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}');")/site-packages:${PYTHONPATH} + export PYTHONPATH:=/opt/ros/${ROS_DISTRO}/local/lib/python$(shell python3 -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}');")/dist-packages:${PYTHONPATH} export PYTHON_EXECUTABLE:=/usr/bin/python3 else export PYTHONPATH:=/opt/ros/${ROS_DISTRO}/lib/python2.7/dist-packages:${PYTHONPATH}