`catkin` provided a CMake function to introspect a `setup.py` and for a subset of the possible content do "the right thing".
In ament the package `ament_cmake_python` provides two functions:
* [ament_python_install_package](
https://github.com/ament/ament_cmake/blob/7b31d859f3d42b9eb6c84db807d95a5604a6881b/ament_cmake_python/cmake/ament_python_install_package.cmake#L16-L22)
* [ament_python_install_module](
https://github.com/ament/ament_cmake/blob/7b31d859f3d42b9eb6c84db807d95a5604a6881b/ament_cmake_python/cmake/ament_python_install_module.cmake#L16-L22)
Those should cover the major need to install Python packages or individual modules. At the moment there is no support for additional features provided by setuptools like entry points.
---
[Visit Topic](
https://discourse.ros.org/t/mixed-python-cpp-ament-package/1452/2) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>