Skip to content

Commit

Permalink
Import setup from setuptools instead of distutils.core (#1239)
Browse files Browse the repository at this point in the history
* updated package.xml to format version 3
* change to setuptools in accordance with migration guide
  • Loading branch information
arne48 authored Mar 4, 2023
1 parent 85e5f33 commit 9ad6441
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions base_local_planner/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="2">
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>base_local_planner</name>
<version>1.17.3</version>
<description>
Expand All @@ -18,6 +18,8 @@
<url>http://wiki.ros.org/base_local_planner</url>

<buildtool_depend version_gte="0.5.68">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>cmake_modules</build_depend>
<build_depend>message_generation</build_depend>
Expand Down
2 changes: 1 addition & 1 deletion base_local_planner/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
from distutils.core import setup
from setuptools import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
Expand Down

0 comments on commit 9ad6441

Please sign in to comment.