File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
rosidl_generator_py/cmake Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -121,19 +121,7 @@ rosidl_write_generator_arguments(
121
121
)
122
122
123
123
if (NOT rosidl_generate_interfaces_SKIP_INSTALL )
124
- ament_python_install_module ("${_output_path} /__init__.py"
125
- DESTINATION_SUFFIX "${PROJECT_NAME} "
126
- )
127
-
128
- # TODO(esteve): replace this with ament_python_install_module and allow a list
129
- # of modules to be passed instead of iterating over _generated_py_files
130
- # See https://github.com/ros2/rosidl/issues/89
131
- foreach (_generated_py_dir ${_generated_py_dirs} )
132
- install (DIRECTORY "${_output_path} /${_generated_py_dir} /"
133
- DESTINATION "${PYTHON_INSTALL_DIR} /${PROJECT_NAME} /${_generated_py_dir} "
134
- PATTERN "*.py"
135
- )
136
- endforeach ()
124
+ ament_python_install_package (${PROJECT_NAME} PACKAGE_DIR "${_output_path} " )
137
125
endif ()
138
126
139
127
set (_target_suffix "__py" )
You can’t perform that action at this time.
0 commit comments