My project structure:
/myproject/ <- I would like to skip that folder
/mypackage/
/subpackage/
mymodule.py
run.py
- setup.py
Within run.py I'd like to import from mymodule.py like that:
from mypackage.subpackage.mymodule import something
instead of:
from myproject.mypackage.subpackage.mymodule import something
Is there a way in setup() to define the entrypoint as being mypackage and skip myproject?