Commit 143bc1e
committed
Improve Python install path detection
[ 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]>1 parent 4f6f349 commit 143bc1e
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments