ros / common_msgs

Commonly used messages in ROS. Includes messages for actions (actionlib_msgs), diagnostics (diagnostic_msgs), geometric primitives (geometry_msgs), robot navigation (nav_msgs), and common sensors (sensor_msgs), such as laser range finders, cameras, point clouds.
http://wiki.ros.org/common_msgs
177 stars 191 forks source link

Use setuptools instead of distutils #159

Closed sloretz closed 4 years ago

sloretz commented 4 years ago

On Debian Buster and Ubuntu Focal distutils has been split to a separate package. With https://github.com/ros/catkin/pull/1048 catkin will prefer to use setuptools instead of distutils. This PR switches to setuptools to match catkin's preference. It uses conditional dependencies so it still works when ROS_PYTHON_VERSION is 2 to enable the target branch to be released to earlier ROS distros than Noetic.

I also removed shebangs from the setup.py since setup.py isn't meant to be executed directly