def _load_config_file()

in gstack/__init__.py [0:0]


def _load_config_file():
    config_file = os.path.join(
        os.path.expanduser('~'),
        '.gstack/gstack.conf'
    )
    if not os.path.exists(config_file):
        sys.exit('No configuration found, please run gstack-configure')

    return config_file