From 5ae05764dac3081faa2e0e03a5eb3549ca3727cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Wed, 1 Apr 2020 23:39:11 +0200 Subject: [PATCH] noetic release (#36) * Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde * Use setuptools instead of distutils Signed-off-by: ahcorde * Add buildtool depend on setuptools Signed-off-by: Shane Loretz * Remove unnecessary option 'package_dir' Signed-off-by: Shane Loretz Co-authored-by: Shane Loretz --- kdl_parser/CMakeLists.txt | 2 +- kdl_parser_py/CMakeLists.txt | 2 +- kdl_parser_py/package.xml | 2 ++ kdl_parser_py/setup.py | 5 ++--- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/kdl_parser/CMakeLists.txt b/kdl_parser/CMakeLists.txt index 3c74ca0..d5890c0 100644 --- a/kdl_parser/CMakeLists.txt +++ b/kdl_parser/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(kdl_parser) diff --git a/kdl_parser_py/CMakeLists.txt b/kdl_parser_py/CMakeLists.txt index eb340e0..5a79a29 100644 --- a/kdl_parser_py/CMakeLists.txt +++ b/kdl_parser_py/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(kdl_parser_py) diff --git a/kdl_parser_py/package.xml b/kdl_parser_py/package.xml index 05a6ab7..ba37801 100644 --- a/kdl_parser_py/package.xml +++ b/kdl_parser_py/package.xml @@ -24,6 +24,8 @@ https://github.com/ros/kdl_parser/issues catkin + python-setuptools + python3-setuptools python-catkin-pkg python3-catkin-pkg diff --git a/kdl_parser_py/setup.py b/kdl_parser_py/setup.py index 0ff6afe..ccdca84 100644 --- a/kdl_parser_py/setup.py +++ b/kdl_parser_py/setup.py @@ -1,11 +1,10 @@ #!/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( - packages=['kdl_parser_py'], - package_dir={'': ''} + packages=['kdl_parser_py'] ) setup(**d)