The Catkin plugin uses
rosdep to determine dependencies of the workspace it’s building. However, the only type of dependency it supports right now are debs. Another type that would be useful and completely doable is
pip. This is a proposal to achieve exactly that.
Really, the Catkin-specific work required is minimal. We simply need a way to hand packages to pip, which means this proposal is really discussing a reorganization of the Python plugin, where the pip functionality currently resides. The proposal is this:
- Extract pip (and associated helpers) from the Python plugin, and create a new
snapcraft.plugins._pythonpackage for it.
- Update the Python plugin to use the extracted pip and helpers.
- Update the Catkin plugin to use the extracted pip and helpers to install pip dependencies as required