ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As William's answer states, rosdep is the way to go.

For example, I can replicate the call to pip by first creating a rosdep.yaml file in my directory with the contents:

pip-seaborn:
 ubuntu:
  pip:
    packages: [seaborn]
pip-vikit-py:
 ubuntu:
  pip:
    packages: [vikit-py]
    alt_install_cmd: git+git://github.com/CatherineH/rpg_vikit.git#egg=vikit_py&subdirectory=vikit_py

Then, I modify my package.xml file to include:

<run_depend>pip-seaborn</run_depend>
<run_depend>pip-vikit-py</run_depend>

Then, I created the file /etc/ros/rosdep/sources.list.d/40-my-list.list, which contains the line:

yaml file:///my-package-path/rosdep.yaml

Finally, I run:

rosdep update
rosdep install --from-path my-package-path