The dummy technic used to import the settings seems to bring problem like if you try to import a local settings file in another settings file it fail,
optimus-cli build --settings=prod_settings
Traceback (most recent call last):
File "/home/django/Emencia/sveetch_vrac/optimus_builds/bin/optimus-cli", line 10, in <module>
parser.dispatch()
File "/home/django/Emencia/sveetch_vrac/optimus_builds/lib/python2.6/site-packages/argh/helpers.py", line 381, in dispatch
return dispatch(self, *args, **kwargs)
File "/home/django/Emencia/sveetch_vrac/optimus_builds/lib/python2.6/site-packages/argh/helpers.py", line 270, in dispatch
for line in lines:
File "/home/django/Emencia/sveetch_vrac/optimus_builds/lib/python2.6/site-packages/argh/helpers.py", line 354, in _execute_command
for line in result:
File "/home/django/Emencia/sveetch_vrac/optimus_builds/lib/python2.6/site-packages/argh/helpers.py", line 337, in _call
result = args.function(args)
File "/home/django/Emencia/sveetch_vrac/optimus_builds/lib/python2.6/site-packages/optimus/cli/build.py", line 25, in build
settings = import_project_module(args.settings)
File "/home/django/Emencia/sveetch_vrac/optimus_builds/lib/python2.6/site-packages/optimus/conf.py", line 20, in import_project_module
settings_mod = imp.load_module(name, fp, pathname, description)
File "/home/django/Emencia/sveetch_vrac/optimus_builds/zik_building/prod_settings.py", line 7, in <module>
from zik_building.settings import *
ImportError: No module named zik_building.settings
The settings import technic should use something like Django wich push the projet path to the pythonpath.