I am trying to pack my modules, but I cannot get it to work.
My directory tree is as follows:
snappy/
__init__.py
main/
__init__.py
main.py
config.py
...
...
and the code that I use
from snappy.main.config import *
I get an error message:
ImportError: No module named snappy.main.config
Any ideas what goes wrong? This uses Python 2.5 on Ubuntu 8.10.
Thanks in advance for your help.
source
share