The trick here is to also generate dependencies properly.
In the end we need to have two ways to use this package :
- explicit
rosimport.import_messages() that work similarly to libimport.import_module and does the same thing as the import python keyword.
- explicit activation of importer hooks, and then they work without user noticing. (already implemented)
The trick here is to also generate dependencies properly.
In the end we need to have two ways to use this package :
rosimport.import_messages()that work similarly tolibimport.import_moduleand does the same thing as theimportpython keyword.