39 |
# Do some config setup first |
# Do some config setup first |
40 |
config = config.Config() |
config = config.Config() |
41 |
|
|
42 |
config.set('main', 'circus_home', os.environ['CIRCUS_HOME']) |
for pyfile in config.config_file_paths: |
43 |
|
if os.path.exists(pyfile): |
44 |
|
execfile(pyfile) |
45 |
|
|
46 |
|
config.circus_home = os.environ['CIRCUS_HOME'] |
47 |
# TODO: add support for multiple paths |
# TODO: add support for multiple paths |
48 |
config.set('main', 'module_path', os.environ['CIRCUS_MODULES']) |
config.module_path = os.environ['CIRCUS_MODULES'] |
49 |
|
|
50 |
config.update_module_path() |
config.update_module_path() |
51 |
|
|
52 |
|
|