colcon / colcon-core

Command line tool to build sets of software packages
http://colcon.readthedocs.io
Apache License 2.0
99 stars 44 forks source link

Improve Python install path detection #601

Open roehling opened 8 months ago

roehling commented 8 months ago

This PR makes the customized Python path scheme logic in colcon contingent on an install prefix other than /usr.

This makes colcon more distribution-friendly and prevents the accidental overwriting of system packages in case someone decides to install their packages to /usr. There is no other change in behavior.

cottsay commented 5 months ago

(Discussion on how to move forward with this change is ongoing in ament/ament_cmake#496)