2014-11-10, 22:44
I wish I had noticed this thread like 6h ago.
My workaround (which is not pretty) was just inserting any outside modules paths into sys.path for any scripts that are not called via the extension points defined in addon.xml.
I guess one fix would be to create additional extension points in addon.xml for any files that are called by runscript (i.e. from settings.xml or keyboard.xml) that could load the other dependencies when called? That would at least prevent regression back to the load everything mentality.
Edit:
By load, I meant insert into the path any other dependencies already defined in that module...
My workaround (which is not pretty) was just inserting any outside modules paths into sys.path for any scripts that are not called via the extension points defined in addon.xml.
I guess one fix would be to create additional extension points in addon.xml for any files that are called by runscript (i.e. from settings.xml or keyboard.xml) that could load the other dependencies when called? That would at least prevent regression back to the load everything mentality.
Edit:
By load, I meant insert into the path any other dependencies already defined in that module...