Skip to content

Instantly share code, notes, and snippets.

@kopp
Created October 17, 2016 19:21
Show Gist options
  • Save kopp/1d5b4cbcc17aebcecd10542012373976 to your computer and use it in GitHub Desktop.
Save kopp/1d5b4cbcc17aebcecd10542012373976 to your computer and use it in GitHub Desktop.
Why you should catkin build a pure python package as well.

Why you should catkin build a pure python package as well, although nothing gets compiled:

When you build a package using catkin build, the path to the package is added to some variables in setup.bash. When setup.bash is sourced the next time, these variables are made part of the environment. Thus, tools like rosrun and roslaunch can find the executables/scripts and python may find modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment