The patch relies on a very recent feature added to setuptools 40.5.0 (see pypa/setuptools # 1520).
It should address #14 without introducing #19.
The renaming of the destination from share/colcon-argcomplete to share/colcon_argcomplete is unfortunately necessary since distutils on the very lowest level replaces - in keys with _ (https://github.com/python/cpython/blob/31ec52a9afedd77e36a3ddc31c4c45664b8ac410/Lib/distutils/dist.py#L414) so it is impossible to install files to a destination containing dashes. Another downside is that the files are not symlinked anymore when using develop.
The patch relies on a very recent feature added to setuptools 40.5.0 (see pypa/setuptools # 1520).
It should address #14 without introducing #19.
The renaming of the destination from
share/colcon-argcomplete
toshare/colcon_argcomplete
is unfortunately necessary sincedistutils
on the very lowest level replaces-
in keys with_
(https://github.com/python/cpython/blob/31ec52a9afedd77e36a3ddc31c4c45664b8ac410/Lib/distutils/dist.py#L414) so it is impossible to install files to a destination containing dashes. Another downside is that the files are not symlinked anymore when usingdevelop
.