ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

What variables do colcon.pkg and setup.cfg accept?

asked 2020-02-19 07:35:25 -0600

ar13pit gravatar image


I am building a python colcon package and would like to understand the variables supported by the files colcon.pkg and setup.cfg.

As per the example in ROS2 docs here , setup.cfg has a variable called $base in it.

I also have an environment hook that I am installing through and defining it in colcon.pkg.

Is there a variable for the package name, just like $base, that can be used instead of explicitly defining it the above files? Also I would like to know where can I find the reference to all allowed variables for both these files.



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-19 11:19:58 -0600

Dirk Thomas gravatar image

colcon.pkgfiles are documented here:

setup.cfgfiles are not specific to ROS / colcon but are from Python setuptools:

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



Asked: 2020-02-19 07:35:25 -0600

Seen: 506 times

Last updated: Feb 19 '20