File tree Expand file tree Collapse file tree 7 files changed +7
-51
lines changed Expand file tree Collapse file tree 7 files changed +7
-51
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
6
6
endif ()
7
7
8
8
find_package (ament_cmake REQUIRED )
9
+ find_package (ament_cmake_python REQUIRED )
9
10
find_package (ament_cmake_core REQUIRED )
10
11
find_package (ament_index_cpp REQUIRED )
11
12
find_package (controller_interface REQUIRED )
@@ -53,14 +54,6 @@ install(DIRECTORY include/
53
54
DESTINATION include
54
55
)
55
56
56
- install (PROGRAMS
57
- scripts/spawner
58
- scripts/spawner.py # Deprecated
59
- scripts/unspawner
60
- scripts/unspawner.py # Deprecated
61
- DESTINATION lib/${PROJECT_NAME}
62
- )
63
-
64
57
if (BUILD_TESTING )
65
58
find_package (ament_cmake_gmock REQUIRED )
66
59
find_package (ament_cmake_gtest REQUIRED )
@@ -160,7 +153,7 @@ if(BUILD_TESTING)
160
153
endif ()
161
154
162
155
# Install Python modules
163
- ament_python_install_package (${PROJECT_NAME} )
156
+ ament_python_install_package (${PROJECT_NAME} SCRIPTS_DESTINATION lib/${PROJECT_NAME} )
164
157
165
158
ament_export_libraries (
166
159
controller_manager
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 8
8
<license >Apache License 2.0</license >
9
9
10
10
<buildtool_depend >ament_cmake</buildtool_depend >
11
+ <buildtool_depend >ament_cmake_python</buildtool_depend >
11
12
12
13
<depend >ament_index_cpp</depend >
13
14
<depend >controller_interface</depend >
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ [options.entry_points]
2
+ console_scripts =
3
+ spawner = controller_manager.spawner:main
4
+ unspawner = controller_manager.unspawner:main
You can’t perform that action at this time.
0 commit comments