[ros-users] [Discourse.ros.org] [Next Generation ROS] Softwa…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dirk Thomas via ros-users
Date:  
To: ros-users
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] Software reuse in ROS1 and ROS2


[quote="Paul_Bovbel, post:5, topic:2262"]
Not sure how the story would work for python. Forgive my ignorance of python packaging - a pure package in that case would just be a setuptools setup.py type of thing? Is there any way to make a package that would build (be referenceable as a dependency/end up on the PYTHONPATH) in both a ROS1 and ROS2 distro?
[/quote]

In ROS 2 pure Python packages (using `setuptools`) are already supported. In ROS 1 that is not the case. In ROS 1 the `setup.py` file is being invoked from within CMake and some features (like entry points are not available at the moment. But it should be possible to add support for something like that in ROS 1 (there is no technical reason why that wouldn't be feasible).





---
[Visit Topic](https://discourse.ros.org/t/software-reuse-in-ros1-and-ros2/2262/7) 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

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>