nucleic / enaml

Declarative User Interfaces for Python
http://enaml.readthedocs.io/en/latest/
Other
1.53k stars 130 forks source link

prioritize enaml over py extension only within enaml.imports() context: #409

Closed AndiEcker closed 4 years ago

AndiEcker commented 4 years ago

with these little changes we can have enaml and py files within the same project or folder.

So e.g. having the files app.py and app.enaml the code::

enaml.imports(): from app import Main

will import Main from app.enaml and not try to import it from app.py and then fail.

MatthieuDartiailh commented 4 years ago

Close based on #410 discussion