i got a directory structure, this is a simplified example:
project_root/
    __init__.py
    test.py
    mypack/
        __init__.py
        mymodule.py
test.py contains this:
from . import mypack
mypack.mymodule.some_function()
and mypack's __init__.py contains this:
from . import *
__all__ = ['mypack']
When doing this, Python tells me that 'mypack' doesn't have 'mymodule'.
I can only do from mypack import mymodule.
This happens both in Python 2.7 and Python 3.5.
How can I get this to work? It seems it can only be done when I install my packages, and not with project directories.
 
     
     
    