diff --git a/CMakeLists.txt b/CMakeLists.txt index 3655eed..8c2fd4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,6 @@ install(DIRECTORY resource DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} ) -install(PROGRAMS scripts/rqt_plot +catkin_install_python(PROGRAMS scripts/rqt_plot DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} ) diff --git a/setup.py b/setup.py index 4ab6df5..683da89 100644 --- a/setup.py +++ b/setup.py @@ -5,8 +5,7 @@ d = generate_distutils_setup( packages=['rqt_plot', 'rqt_plot.data_plot'], - package_dir={'': 'src'}, - scripts=['scripts/rqt_plot'] + package_dir={'': 'src'} ) setup(**d)