removed egg directory and modified set_config so it does not require pecan before calling conf
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
pecan.egg-info
|
||||
@@ -1,10 +0,0 @@
|
||||
Metadata-Version: 1.0
|
||||
Name: pecan
|
||||
Version: 0.1dev
|
||||
Summary: A WSGI object-dispatching web framework, in the spirit of TurboGears, only much much smaller, with many fewer dependencies.
|
||||
Home-page: http://github.com/cleverdevil/pecan
|
||||
Author: Jonathan LaCour
|
||||
Author-email: jonathan@cleverdevil.org
|
||||
License: BSD
|
||||
Description: UNKNOWN
|
||||
Platform: UNKNOWN
|
||||
@@ -1,22 +0,0 @@
|
||||
README
|
||||
setup.cfg
|
||||
setup.py
|
||||
pecan/__init__.py
|
||||
pecan/configuration.py
|
||||
pecan/decorators.py
|
||||
pecan/hooks.py
|
||||
pecan/jsonify.py
|
||||
pecan/pecan.py
|
||||
pecan/rest.py
|
||||
pecan/routing.py
|
||||
pecan/secure.py
|
||||
pecan/templating.py
|
||||
pecan.egg-info/PKG-INFO
|
||||
pecan.egg-info/SOURCES.txt
|
||||
pecan.egg-info/dependency_links.txt
|
||||
pecan.egg-info/entry_points.txt
|
||||
pecan.egg-info/requires.txt
|
||||
pecan.egg-info/top_level.txt
|
||||
pecan.egg-info/zip-safe
|
||||
templates/__init__.py
|
||||
tests/templates/__init__.py
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
|
||||
[paste.paster_create_template]
|
||||
pecan-base = templates:NewProjectTemplate
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
WebOb == 1.0.0
|
||||
WebCore == 1.0.0
|
||||
simplegeneric == 0.7
|
||||
Kajiki == 0.3.1
|
||||
Paste == 1.7.5.1
|
||||
PasteScript == 1.7.3
|
||||
formencode == 1.2.2
|
||||
@@ -1,3 +0,0 @@
|
||||
templates
|
||||
tests
|
||||
pecan
|
||||
@@ -23,4 +23,4 @@ def make_app(root, static_root=None, debug=False, errorcfg={}, **kw):
|
||||
return app
|
||||
|
||||
def set_config(name):
|
||||
pecan.conf.update_with_module(name)
|
||||
conf.update_with_module(name)
|
||||
|
||||
@@ -7,7 +7,7 @@ if __name__ == '__main__':
|
||||
sys.exit(1)
|
||||
|
||||
runtime_conf = set_config(sys.argv[1])
|
||||
app_conf = runtime_conf.application
|
||||
app_conf = runtime_conf.app
|
||||
serv_conf = runtime_conf.server
|
||||
|
||||
app = make_app(
|
||||
|
||||
Reference in New Issue
Block a user