Closed kaserf closed 12 years ago
Is there a tutorial that explains the best practice for python projects? I saw in rqt/rosgui that you have a script, I'll try to follow that example.
http://guide.python-distribute.org/creation.html http://packages.python.org/an_example_pypi_project/setuptools.html http://as.ynchrono.us/2007/12/filesystem-structure-of-python-project_21.html
Note they all do not use a src folder, but in the ROS community most use src, maybe because there is a lot of mixing c++ and python going on.
I gave it a shot but to be honest I don't really understand what I'm doing here. Especially the part I took from rqt seems a bit magic to me. @tkruse: any comments?
That part of rqt was written by Dirk Thomas, he will tell you the purpose of the code. I guess the code looks like a hack because it had to work with old ROS distributions.
as suggested there should be no executable files in the src folder. Follow the rqt example and create a script in bin that starts the whole machinery.