Skip to content

Commit

Permalink
Use catkin_install_python() (#59)
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Loretz <[email protected]>
  • Loading branch information
sloretz committed May 20, 2020
1 parent cb7d874 commit 15b189d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
)
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 15b189d

Please sign in to comment.