diff --git a/CMakeLists.txt b/CMakeLists.txt index 6410d12..6558258 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # CMake ############################################################################## -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(genjava) ############################################################################## diff --git a/package.xml b/package.xml index a907f61..86233ab 100644 --- a/package.xml +++ b/package.xml @@ -1,4 +1,8 @@ - + + + genjava 0.3.4 @@ -16,18 +20,16 @@ Daniel Stonier catkin - - genmsg - python-catkin-pkg - python-rospkg - rosjava_bootstrap - rosjava_build_tools - - genmsg - python-catkin-pkg - python-rospkg - rosjava_bootstrap - rosjava_build_tools + python-setuptools + python3-setuptools + + genmsg + python-catkin-pkg + python-rospkg + python3-catkin-pkg + python3-rospkg + rosjava_bootstrap + rosjava_build_tools java diff --git a/setup.py b/setup.py index 2b031ef..cf9ec7a 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/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( diff --git a/src/genjava/gradle_project.py b/src/genjava/gradle_project.py index 66a85a8..5ecfbca 100644 --- a/src/genjava/gradle_project.py +++ b/src/genjava/gradle_project.py @@ -79,7 +79,7 @@ def get_templates(): def populate_project(project_name, project_version, pkg_directory, gradle_project_dir, msg_dependencies): author = author_name() - for filename, template in get_templates().iteritems(): + for filename, template in get_templates().items(): contents = instantiate_genjava_template(template, project_name, project_version, pkg_directory, author, msg_dependencies) try: p = os.path.abspath(os.path.join(gradle_project_dir, filename))