'Read configuration from :file:`celeryconfig.py`.'

def read_configuration(self, fail_silently=True):

    configname = os.environ.get(u'CELERY_CONFIG_MODULE', DEFAULT_CONFIG_MODULE)
    try:
        usercfg = self._import_config_module(configname)
    except ImportError:
        if (not fail_silently):
            raise
        if (C_WNOCONF and (not os.environ.get(u'FORKED_BY_MULTIPROCESSING'))):
            warnings.warn(NotConfigured(u'No    {module}    module    found!    Please    make    sure    it    exists    and    is    available    to    Python.'.format(module=configname)))
        return self.setup_settings({})
    else:
        self.configured = True
        return self.setup_settings(usercfg)
