Ask Your Question
1

build_depend vs build_export_depend vs exec_depend in ROS with Python?

asked 2019-05-27 15:39:11 -0500

Sparkle Eyes gravatar image

In the context of using ROS with Python, how would the build_depend, build_export_depend and exec_depend differ?

Since Python is an interpreted language, can I understand it as they should all be the same? How would there be a build process (perhaps excluding the case when we use Cython or other C++ based Python extensions).

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-05-28 01:14:45 -0500

mgruhler gravatar image

You are correct, that there is no build process per se with python-only packages. Note though, that you still need the CMakeLists.txt for catkin to function properly.

In the end, the build_depend and build_export_depend tags are practically irrelevant for python-only packages. You only need to specify your python-based dependencies via exec_depend.

The catkin docs state, however, to import any message packages using the depend tag, even though exec_depend would be enough. Though I'm not sure why that's the case...

edit flag offensive delete link more

Comments

Thanks for the answer! The link to the doc is very useful.

Sparkle Eyes gravatar imageSparkle Eyes ( 2019-05-28 14:49:48 -0500 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2019-05-27 15:39:11 -0500

Seen: 73 times

Last updated: May 28