enaml
enaml copied to clipboard
ImportError when trying to import enaml file from inside Python egg
ImportError
exception is raised when trying to import an enaml file from inside a Python egg.
I tried to create a minimal project that reproduces the issue: https://github.com/gabrielcnr/enaml_egg
I also quickly patched the locate_module()
method inside the import_hooks.py
module (added else
statement from line 236) and apparently it resolves the issue. I'm not sure how efficient that is though...
I pushed the changes to a branch on my fork.
https://github.com/gabrielcnr/enaml/commit/592d7b787015fef170b370c360eca9e87af8987d
Is this still an issue ? You removed the repo demonstrating the issue so I cannot easily investigate.