[ros-users] [Discourse.ros.org] [Next Generation ROS] Mixed python/cpp Ament package

Dirk Thomas ros.discourse at gmail.com
Wed Mar 8 17:58:02 UTC 2017




`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.




More information about the ros-users mailing list