Skip to content

Commit

Permalink
Merge pull request #274 from arne48/setuptools_migration
Browse files Browse the repository at this point in the history
Import setup from setuptools instead of distutils.core
  • Loading branch information
v4hn authored Mar 6, 2023
2 parents 5d511e1 + 97adbfa commit 6363d53
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
14 changes: 8 additions & 6 deletions pr2_camera_synchronizer/package.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<package>
<package format="3">
<name>pr2_camera_synchronizer</name>
<version>1.6.32</version>
<description>
Expand Down Expand Up @@ -26,13 +26,15 @@
<author>Blaise Gassend</author>

<buildtool_depend>catkin</buildtool_depend>
<buildtool_depend condition="$ROS_PYTHON_VERSION == 2">python-setuptools</buildtool_depend>
<buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_depend>

<build_depend>dynamic_reconfigure</build_depend>
<build_depend>rostest</build_depend>

<run_depend>ethercat_trigger_controllers</run_depend>
<run_depend>rospy</run_depend>
<run_depend>dynamic_reconfigure</run_depend>
<run_depend>wge100_camera</run_depend>
<run_depend>diagnostic_msgs</run_depend>
<exec_depend>ethercat_trigger_controllers</exec_depend>
<exec_depend>rospy</exec_depend>
<exec_depend>dynamic_reconfigure</exec_depend>
<exec_depend>wge100_camera</exec_depend>
<exec_depend>diagnostic_msgs</exec_depend>
</package>
2 changes: 1 addition & 1 deletion pr2_camera_synchronizer/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD

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

# fetch values from package.xml
Expand Down
14 changes: 8 additions & 6 deletions pr2_computer_monitor/package.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<package>
<package format="3">
<name>pr2_computer_monitor</name>
<version>1.6.32</version>
<description>Monitors the computer's processor and hard drives of the PR2 and publishes data to diagnostics.</description>
Expand All @@ -12,17 +12,19 @@
<author>Kevin Watts ([email protected])</author>

<buildtool_depend>catkin</buildtool_depend>
<buildtool_depend condition="$ROS_PYTHON_VERSION == 2">python-setuptools</buildtool_depend>
<buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_depend>

<build_depend>diagnostic_msgs</build_depend>
<build_depend>pr2_msgs</build_depend>
<build_depend>roscpp</build_depend>
<build_depend>std_msgs</build_depend>

<run_depend>diagnostic_msgs</run_depend>
<run_depend>rospy</run_depend>
<run_depend>pr2_msgs</run_depend>
<run_depend>roscpp</run_depend>
<run_depend>std_msgs</run_depend>
<exec_depend>diagnostic_msgs</exec_depend>
<exec_depend>rospy</exec_depend>
<exec_depend>pr2_msgs</exec_depend>
<exec_depend>roscpp</exec_depend>
<exec_depend>std_msgs</exec_depend>



Expand Down
2 changes: 1 addition & 1 deletion pr2_computer_monitor/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD

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

# fetch values from package.xml
Expand Down

0 comments on commit 6363d53

Please sign in to comment.