diff --git a/fetch_calibration/CMakeLists.txt b/fetch_calibration/CMakeLists.txt index de157c1f..a4e4b842 100644 --- a/fetch_calibration/CMakeLists.txt +++ b/fetch_calibration/CMakeLists.txt @@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.0.2) project(fetch_calibration) find_package(catkin) -catkin_python_setup() catkin_package() install(DIRECTORY config @@ -13,7 +12,12 @@ install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} ) -install( +catkin_install_python( PROGRAMS scripts/camera_reconfigure.py DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} ) + +catkin_install_python( + PROGRAMS scripts/calibrate_robot + DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION} +) diff --git a/fetch_calibration/package.xml b/fetch_calibration/package.xml index 2c2c9520..f5730e3a 100644 --- a/fetch_calibration/package.xml +++ b/fetch_calibration/package.xml @@ -20,8 +20,6 @@ https://github.com/fetchrobotics/fetch_ros catkin - python-setuptools - python3-setuptools robot_calibration diff --git a/fetch_calibration/setup.py b/fetch_calibration/setup.py deleted file mode 100644 index cd991806..00000000 --- a/fetch_calibration/setup.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python - -from setuptools import setup -from catkin_pkg.python_setup import generate_distutils_setup - -d = generate_distutils_setup( - scripts=['scripts/calibrate_robot'], - ) - -setup(**d)