diff --git a/package.xml b/package.xml
index e431f2d..5106940 100644
--- a/package.xml
+++ b/package.xml
@@ -25,10 +25,9 @@
ament_cmake
- python
- python-lxml
- python-yaml
- python-mock
+ python3-lxml
+ python3-yaml
+ python3-mock
ament_python
diff --git a/setup.py b/setup.py
index 2e4d844..6453942 100644
--- a/setup.py
+++ b/setup.py
@@ -28,14 +28,3 @@
license='Apache License, Version 2.0',
tests_require=['pytest'],
)
-
-# from distutils.core import setup
-# from catkin_pkg.python_setup import generate_distutils_setup
-#
-# d = generate_distutils_setup(
-# packages=['urdf_parser_py', 'urdf_parser_py.xml_reflection'],
-# package_dir={'': 'src'}
-# )
-#
-# setup(**d)
-#
diff --git a/src/urdf_parser_py/xml_reflection/basics.py b/src/urdf_parser_py/xml_reflection/basics.py
index f206088..f8ea8a7 100644
--- a/src/urdf_parser_py/xml_reflection/basics.py
+++ b/src/urdf_parser_py/xml_reflection/basics.py
@@ -10,7 +10,7 @@
def xml_string(rootXml, addHeader=True):
# Meh
- xmlString = etree.tostring(rootXml, pretty_print=True)
+ xmlString = etree.tostring(rootXml, pretty_print=True, encoding=str)
if addHeader:
xmlString = '\n' + xmlString
return xmlString