Python3 and python2 on package
Hi,
I have in my ROS package nodes that are supposed to be run with python2 and with python3. I wanto to maintain common code in shared libraries, a python2/3 lib and a python3 only lib. I read that I can keep my python packages on the /src
folder and write a setup.py
file so the packages would be installed and available to my nodes when a run catkin_make
or catkin build
.
The question is, how can I install both python3 and python2/3 packages in the same setup file? This could be done by catkin? If no, what would be the better way of organizing my code in this situation?