Skip to content

Commit

Permalink
jsk_interactive_marker: use catkin_install_python in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Dec 11, 2024
1 parent 92d7412 commit 17602e5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ add_service_files(DIRECTORY srv
SnapFootPrint.srv
SetHeuristic.srv)

catkin_python_setup()
generate_dynamic_reconfigure_options(
cfg/FootstepMarker.cfg
cfg/InteractivePointCloud.cfg
Expand Down Expand Up @@ -240,7 +241,12 @@ install(TARGETS jsk_interactive_marker
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
)

install(DIRECTORY config euslisp launch models scripts urdf
file(GLOB PYTHON_SCRIPTS scripts/*.py)
catkin_install_python(
PROGRAMS ${PYTHON_SCRIPTS}
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(DIRECTORY config euslisp launch models urdf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
PATTERN ".svn" EXCLUDE
Expand Down
11 changes: 11 additions & 0 deletions jsk_interactive_markers/jsk_interactive_marker/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env python

from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
packages=['jsk_interactive_marker'],
package_dir={'': 'src'}
)

setup(**d)
Empty file.

0 comments on commit 17602e5

Please sign in to comment.