Best practices to manage ROS2 package python dependencies
What the best practice to manage / install dependencies for ROS2 python package? Installing by setup.py
? Using system-level or an interpreter in venv
with requirements.txt
to install dependencies with pip
manually? Can colcon trigger installation from pypi on a build stage?
While answers recommends
rosdep
, this one: https://answers.ros.org/question/3107... can help as well.That answer is out of date, and all core dependencies are available from debian packages now. And pip dependencies can be resolved by rosdep, they just can't be released into debian paickages.
Rosdep uses own package registry not connected with pypi.org. There is a list of Python packages available: https://raw.githubusercontent.com/ros.... More information is here: https://docs.ros.org/independent/api/...