Skip to content

Commit ddb0494

Browse files
committed
package.xml: Support for Ubuntu 20.04 / Python 3
1 parent c746b9f commit ddb0494

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313

1414
<build_depend>git</build_depend>
1515
<build_depend>doxygen</build_depend>
16-
<depend>python</depend>
17-
<depend>python-numpy</depend>
16+
<depend condition="$ROS_PYTHON_VERSION == 2">python</depend>
17+
<depend condition="$ROS_PYTHON_VERSION == 3">python3</depend>
18+
<depend condition="$ROS_PYTHON_VERSION == 2">python-numpy</depend>
19+
<depend condition="$ROS_PYTHON_VERSION == 3">python3-numpy</depend>
1820
<depend>eigen</depend>
1921
<depend>boost</depend>
2022

0 commit comments

Comments
 (0)