Browse Source

Add setup.py

pull/95/head
hello-chintan 1 year ago
parent
commit
af0f69bc34
2 changed files with 10 additions and 1 deletions
  1. +2
    -1
      stretch_demos/CMakeLists.txt
  2. +8
    -0
      stretch_demos/setup.py

+ 2
- 1
stretch_demos/CMakeLists.txt View File

@ -29,7 +29,7 @@ find_package(catkin REQUIRED COMPONENTS
## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()
catkin_python_setup()
################################################
## Declare ROS messages, services and actions ##
@ -72,6 +72,7 @@ find_package(catkin REQUIRED COMPONENTS
## Generate actions in the 'action' folder
add_action_files(
FILES
ArucoHeadScan.action
VisualServo.action
)

+ 8
- 0
stretch_demos/setup.py View File

@ -0,0 +1,8 @@
#!/usr/bin/env python3
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
setup_args = generate_distutils_setup( packages=['stretch_demos'], package_dir={'': 'src'})
setup(**setup_args)

Loading…
Cancel
Save