Skip to content

Commit fe974f2

Browse files
authored
noetic port. (#22)
1 parent 381658b commit fe974f2

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

angles/package.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
<package>
1+
<?xml version="1.0"?>
2+
<?xml-model
3+
href="http://download.ros.org/schema/package_format3.xsd"
4+
schematypens="http://www.w3.org/2001/XMLSchema"?>
5+
<package format="3">
26
<name>angles</name>
37
<version>1.9.13</version>
48
<description>This package provides a set of simple math utilities to work
@@ -17,6 +21,8 @@
1721
<url>http://wiki.ros.org/angles</url>
1822

1923
<buildtool_depend version_gte="0.5.68">catkin</buildtool_depend>
24+
<buildtool_depend condition="$ROS_PYTHON_VERSION == 2">python-setuptools</buildtool_depend>
25+
<buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_depend>
2026
<test_depend>rosunit</test_depend>
2127

2228
<export>

angles/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22

3-
from distutils.core import setup
3+
from setuptools import setup
44
from catkin_pkg.python_setup import generate_distutils_setup
55

66
package_info = generate_distutils_setup(

0 commit comments

Comments
 (0)