On 9.03.2016 12:30, Joseph Martinot-Lagarde wrote:
To me the cleanest (from a user point of view) way would be to enable "from . import xxx" in scripts outside packages. When I learned about relative imports I was really surprised by this limitation. If it was possible I'd use it everywhere.
with python 3.5 import machinery its 3 line hack to fill sys.modules[''].__path__