ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Ok after reading the rosdep tutorial I found the source for rosdep packages here: https://github.com/ros/rosdistro/blob/master/rosdep/python.yaml
I understand better now, also I found some explanations here: https://answers.ros.org/question/323563/ros-1-correct-way-to-declare-python-dependencies/
2 | No.2 Revision |
Ok after reading the rosdep tutorial I found the source for rosdep packages here: https://github.com/ros/rosdistro/blob/master/rosdep/python.yaml
I understand better now, also I found some explanations here: https://answers.ros.org/question/323563/ros-1-correct-way-to-declare-python-dependencies/
I can either submit a change to the public rosdep/python.yaml file. Or create some local file, and then update the sources.list of rosdep in my system to point to this file.
Let's create this file : custom-python.yaml install it on a system-wide path:
sudo mkdir -p /usr/local/share/ros && sudo cp hal-python.yaml /usr/local/share/ros
Edit the rosdep sources and update:
echo "yaml file:///usr/local/share/ros/hal-python.yaml" | sudo tee -a /etc/ros/rosdep/sources.list.d/20-default.list
rosdep update
Finally install dependencies for you package:
rosdep install --from-paths src --ignore-src -r -y