Consequence of setup.py
Hi,
I am currently setting up my first python based node. I have included a setup.py into my project and added the "catkin_python_setup()" macro in my CMakeLists.txt. I am now wondering, what the consequence of this is. Or, said differently, where can I see the result of adding setup.py and the macro?
I have checked the $PYTHONPATH
and found that my python package can be found in /path_to_workspace/devel/lib/python2.7/dist-packages/mypackage
. Am I right that this folder has been generated by catkin when running setup.py? Are the modules of my package mypackage
made available through /path_to_workspace/devel/lib/python2.7/dist-packages/mypackage/__init__.py
?
Thank you!