Ask Your Question
0

Dependency on python-docopt

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

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 20 times

Last updated: Jul 11 '18