diff --git a/CMakeLists.txt b/CMakeLists.txt index c095990..bd54a5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,3 +9,20 @@ find_package(catkin REQUIRED COMPONENTS catkin_python_setup() catkin_package(CATKIN_DEPENDS message_runtime ) + +#python script +catkin_install_python(PROGRAMS + src/ros_tcp_endpoint/__init__.py + src/ros_tcp_endpoint/client.py + src/ros_tcp_endpoint/server.py + src/ros_tcp_endpoint/communication.py + src/ros_tcp_endpoint/default_server_endpoint.py + src/ros_tcp_endpoint/exceptions.py + src/ros_tcp_endpoint/publisher.py + src/ros_tcp_endpoint/subscriber.py + src/ros_tcp_endpoint/tcp_sender.py + src/ros_tcp_endpoint/service.py + src/ros_tcp_endpoint/unity_service.py + src/ros_tcp_endpoint/thread_pauser.py + + DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})