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

Dependency on python-docopt

asked 2018-07-11 02:27:29 -0500

agutenkunst gravatar image

Hi there!

I have a package where I want to use python-docopt for argument parsing.

I declare it by

<run_depend>python-docopt</run_depend>

however my local buildfarm throws me a

KeyError: 'docopt'

I see that there is no python-docopt in https://github.com/ros/rosdistro/blob...

But how does this relate to https://github.com/ros/rosdistro/blob...

where it is defined?

Did I understand something wrong? Or do I have some misconfigured buildfarm?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-11 02:35:23 -0500

tfoote gravatar image

When building debian packages pip rules cannot be used so they will be ignored. Which is why docopt cannot be resolved on the buildfarm. But on command line useage of rosdep pip will work.

I've opened a PR to make it use the debian packages instead: https://github.com/ros/rosdistro/pull...

Which is our policy to prefer the native package manager packages when available.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-07-11 02:27:29 -0500

Seen: 152 times

Last updated: Jul 11 '18