From 15b189d3d6f5ebd4410f534e25473871043457af Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Wed, 20 May 2020 13:14:13 -0400 Subject: [PATCH] Use catkin_install_python() (#59) Signed-off-by: Shane Loretz --- CMakeLists.txt | 2 +- setup.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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)