Skip to content

Commit

Permalink
Update to later version of RICB that adds hook for PYTHONPATH (ros-in…
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 authored Jun 30, 2023
1 parent 90a872f commit 71eccfc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion dependencies.repos
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- git:
local-name: ros_industrial_cmake_boilerplate
uri: https://github.com/ros-industrial/ros_industrial_cmake_boilerplate.git
version: 0.4.6
version: 0.4.7
- git:
local-name: boost_plugin_loader
uri: https://github.com/tesseract-robotics/boost_plugin_loader.git
Expand Down
6 changes: 0 additions & 6 deletions src/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ set_target_properties(
OUTPUT_NAME ${PROJECT_NAME})
target_cxx_version(${PROJECT_NAME}_python PUBLIC VERSION 14)

# Add a hook for colcon to add the Python library directory to the PYTHONPATH environment variable
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/share/${PROJECT_NAME}/hook/python_path.dsv
"prepend-non-duplicate;PYTHONPATH;lib/python3/dist-packages")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/share/${PROJECT_NAME}/hook/python_path.dsv
DESTINATION share/${PROJECT_NAME}/hook)

list(
APPEND
TARGETS
Expand Down

0 comments on commit 71eccfc

Please sign in to comment.