Skip to content

Conversation

@roehling
Copy link

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.

roehling added a commit to roehling/ament_cmake that referenced this pull request Nov 27, 2023
[ This is the companion PR to
colcon/colcon-core#601 ]

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

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

Signed-off-by: Timo Röhling <[email protected]>
@cottsay
Copy link
Member

cottsay commented Feb 5, 2024

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

roehling added a commit to roehling/ament_cmake that referenced this pull request Feb 21, 2024
[ This is the companion PR to
colcon/colcon-core#601 ]

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

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

Signed-off-by: Timo Röhling <[email protected]>
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.

Signed-off-by: Timo Röhling <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants