ros-infrastructure / ros_release_python

3 stars 4 forks source link

add --skip-wheel option for PIP #27

Closed dirk-thomas closed 5 years ago

dirk-thomas commented 5 years ago

The option is necessary for colcon-argcomplete since the wheel doesn't contain the scripts located in the share directory. See https://github.com/colcon/colcon-argcomplete/issues/14#issuecomment-450429252 for more details.

dirk-thomas commented 5 years ago

While not trying to create a wheel allows to release colcon-argcomplete that isn't a viable solution since pip will then try to create a wheel on the user machine on the fly, see https://packaging.python.org/tutorials/installing-packages/#source-distributions-vs-wheels:

If pip does not find a wheel to install, it will locally build a wheel and cache it for future installs, instead of rebuilding the source distribution in the future.