Hi Massimo, thanks for your answer.
sites-packages is an option indeed.
Importing modules works without issues when i fully qualify the import path
like:
from applications.myapp.modules.utils import anyfunc
I have been reading the custom_import, which tries to find or reload the
module unsuccesfully if its written shorthanded. (from utils import anyfunc)
Theres also an example at compileapp.py on how to use local_import like d =
local_import('a.b.c')
Ill try to move the sys.path.insert somewhere to be executed just once for
now.
Thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.