# Path: ddserver/utils/deps.py
# def export(**requirements):
#   ''' Decorator to export a factory.
# 
#       Requirements for the factory can be specified. These requirements are
#       passed to the wrapped function as specified by the `require` decorator.
#   '''
# 
#   def wrapper(func):
#     return Export(factory = require(**requirements)(func))
# 
#   return wrapper


import ConfigParser as configparser
import collections
import contextlib
from ddserver.utils.deps import export
    yield declarator


  @property
  def declarations(self):
    ''' Returns the declarations. '''
    return self.__sections




class Namespace(object):
  def __getitem__(self, key):
    return self.__dict__[key]


  def __setitem__(self, key, value):
    self.__dict__[key] = value


  def __contains__(self, key):
    return key in self.__dict__


  __getattr__ = __getitem__
  __setattr__ = __setitem__





# Path: ddserver/utils/deps.py
# def export(**requirements):
#   ''' Decorator to export a factory.
# 
#       Requirements for the factory can be specified. These requirements are
#       passed to the wrapped function as specified by the `require` decorator.
#   '''
# 
#   def wrapper(func):
#     return Export(factory = require(**requirements)(func))
# 
#   return wrapper


# Path: ddserver/config.py
import ConfigParser as configparser
import collections
import contextlib
from ddserver.utils.deps import export

    yield declarator


  @property
  def declarations(self):
    ''' Returns the declarations. '''
    return self.__sections




class Namespace(object):
  def __getitem__(self, key):
    return self.__dict__[key]


  def __setitem__(self, key, value):
    self.__dict__[key] = value


  def __contains__(self, key):
    return key in self.__dict__


  __getattr__ = __getitem__
  __setattr__ = __setitem__





@export(config_decl = 'ddserver.config:ConfigDeclaration')