Skip to content

Instantly share code, notes, and snippets.

@gdchamal
Created January 21, 2015 13:16
Show Gist options
  • Save gdchamal/0b5cdd8f20a1ce74008e to your computer and use it in GitHub Desktop.
Save gdchamal/0b5cdd8f20a1ce74008e to your computer and use it in GitHub Desktop.
load Interfaces
from caliopen.config import Configuration
from caliopen.core.config import includeme
pwd = os.path.dirname(os.path.realpath(__file__))
DEFAULT_CONFIG_FILE = '%s/../../../../config/caliopen.yaml.template' % pwd
Configuration.load(os.environ.get('CALIOPEN_CONFIG', DEFAULT_CONFIG_FILE),
'global')
includeme()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment