From c69478553a87235ddda6dca62f4f56d5945aed87 Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Mon, 21 Oct 2019 14:53:55 -0700 Subject: [PATCH] use improved Python package identification --- colcon_ros/package_identification/ros.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/colcon_ros/package_identification/ros.py b/colcon_ros/package_identification/ros.py index 90d1ea5..b1cecdb 100644 --- a/colcon_ros/package_identification/ros.py +++ b/colcon_ros/package_identification/ros.py @@ -13,7 +13,7 @@ from colcon_core.plugin_system import satisfies_version from colcon_core.plugin_system import SkipExtensionException from colcon_python_setup_py.package_identification.python_setup_py \ - import get_setup_arguments_with_context + import get_setup_information # mapping paths to tuples containing the ROS package and its build type @@ -124,8 +124,8 @@ def getter(env): def getter(env): # noqa: F811 nonlocal desc - return get_setup_arguments_with_context( - str(desc.path / 'setup.py'), env) + return get_setup_information( + desc.path / 'setup.py', env=env) desc.metadata['get_python_setup_options'] = getter