Symlink for config folder not working for ros2 python packages
For a ros2 python package(ament_python) in galactic and rolling, aren't the files in the config folder supposed to be symbolically linked when doing a symlink-install build. It does this when config folders are installed in a cpp package (ament_cmake). But not for a python package. Am I missing something here? Is there some additional setup I need to do for this to work?
Details: In my python package setup.py file, I have the following for data_files:
data_files=[ ("share/ament_index/resource_index/packages", ["resource/" + package_name]), ("share/" + package_name, ["package.xml"]), (os.path.join("share", package_name, "config"), glob("config/*.yaml")), ],
I build the package using 'colcon build --symlink-install'. I expect the yaml files under install/my_pkg/share/my_pkg/config to be symbolically linked to the source files at src/my_repo/my_pkg/config. It isn't.
Is it possible to share a little more information about your setup/situation? It's hard to make many conclusions with the information in the post really.
I added more details above
I am still seeing this problem, is there a known work-around yet?