import os
import glob
# Other imports ...
package_name = 'py_launch_example'
setup(
# Other parameters ...
data_files=[
# ... Other data files
# Include all launch files.
(os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', '*launch.[pxy][yma]*')))
]
)
The tutorial for Humble leads to an error when using colcon build (source/Tutorials/Intermediate/Launch/Launch-system.rst). To note, the line in the setup.py file to add the launch file causes the issue.
Issue: