diff options
author | Ian Bicking <ian@ianbicking.org> | 2005-08-22 22:20:26 +0000 |
---|---|---|
committer | Ian Bicking <ian@ianbicking.org> | 2005-08-22 22:20:26 +0000 |
commit | f23fe694cb45b84ab4f7ef5fc49d8f3b6bf2acb0 (patch) | |
tree | d5c95a0d3def5d502547d1b1a8c15e04e7e8aeaa /paste/frameworks/default_framework.py | |
parent | d7fe7799d3c0299cfddd4f2f73fcec1558eae19a (diff) | |
download | paste-git-f23fe694cb45b84ab4f7ef5fc49d8f3b6bf2acb0.tar.gz |
Removed things that are either defunct (frameworks, server glue) or will move to a separate package (app_templates)
Diffstat (limited to 'paste/frameworks/default_framework.py')
-rw-r--r-- | paste/frameworks/default_framework.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/paste/frameworks/default_framework.py b/paste/frameworks/default_framework.py deleted file mode 100644 index 5f94ac6..0000000 --- a/paste/frameworks/default_framework.py +++ /dev/null @@ -1,24 +0,0 @@ -import sys -from paste import makeapp - -def build_application(conf): - if conf.get('publish_dir'): - from paste.webkit import conf_setup - app = conf_setup.build_application(conf) - elif conf.get('publish_app'): - app = conf['publish_app'] - if isinstance(app, (str, unicode)): - from paste.util import import_string - app = import_string.eval_import(app) - app = makeapp.apply_conf_middleware(app, conf) - app = makeapp.apply_default_middleware(app, conf) - elif conf.get('system_urlmap'): - app = None - else: - # @@ ianb 2005-03-23: This should be removed sometime - if conf.get('webkit_dir'): - print 'The webkit_dir configuration variable is no longer supported' - print 'Use publish_dir instead' - print "You must provide publish_dir or publish_app" - sys.exit(2) - return app |