Commits

Anonymous committed e356c2f

Removed initools requirement, as it is no longer being used anyway

Comments (0)

Files changed (3)

paste/script/appinstall.py

 import pkg_resources
 from Cheetah.Template import Template
 from ConfigParser import ConfigParser
-from simpleconfig import load_flat_config
 from paste.util import import_string
 from paste.deploy import appconfig
 from paste.script.util import uuid

paste/script/simpleconfig.py

-"""
-An even simpler configuration loader.  Very simple
-"""
-from initools import iniparser
-
-__all__ = ['load_flat_config']
-
-class _FlatParser(iniparser.INIParser):
-
-    """
-    An internal subclass of the abstract ini parser, which saves
-    everything into one dictionary.
-    """
-
-    def reset(self):
-        self.data = {}
-        iniparser.INIParser.reset(self)
-
-    def assignment(self, name, content):
-        self.data[name] = content
-
-    def new_section(self, section):
-        self.parse_error(
-            "System config files cannot have sections")
-
-def load_flat_config(filename):
-    p = _FlatParser()
-    p.load(filename)
-    return p.data
     install_requires=[
       'Paste',
       'PasteDeploy',
-      'INITools',
       'Cheetah',
       ],
     )