Hi,
I’m writing a build plugin based on exec.py like this:
execcmd = __import__("exec")
class BuildThisCommand(execcmd.ExecCommand):
However, since Sublime Text loads the packages in alphabetical order, Default/exec.py isn’t loaded yet when my plugin loads when ST2 starts, I get this error:
Traceback (most recent call last):
File ".\sublime_plugin.py", line 62, in reload_plugin
File ".\BuildThis.py", line 72, in <module>
execcmd = __import__("exec")
ImportError: No module named exec
Could Sublime Text be changed to load the Default folder first and then the others (would be my preference)? Or can I delay loading my plugin? I don’t want to change the name so it’s behind Default and I don’t want to copy the whole exec.py and insert my code into it.