def _defaultConfigFilenameFromEnvironment():
    """return the system-default config file.

    If BSA_CONFIG_FILE is set, we use that. Otherwise, we use a project-local config.cfg
    """
    if DEFAULT_CONFIG_ENV_VARNAME in os.environ:
        return os.environ[DEFAULT_CONFIG_ENV_VARNAME]
    else:
        logging.info("using default config file")
        return os.path.join(os.path.split(__file__)[0], 'config.cfg')
dataset/ETHPy150Open ufora/ufora/ufora/config/Setup.py/_defaultConfigFilenameFromEnvironment/original