Tweak some things to get Tailbonen working on its own.
This commit is contained in:
parent
8ec6a18cdc
commit
89b443c442
2
setup.py
2
setup.py
|
@ -83,7 +83,7 @@ requires = [
|
|||
'pyramid_exclog', # 0.6
|
||||
'pyramid_simpleform', # 0.6.1
|
||||
'pyramid_tm', # 0.3
|
||||
'rattail[auth,db]>=0.5.0', # 0.5.0
|
||||
'rattail[db,auth,bouncer]>=0.5.0', # 0.5.0
|
||||
'transaction', # 1.2.0
|
||||
'waitress', # 0.8.1
|
||||
'WebHelpers', # 1.3
|
||||
|
|
|
@ -153,6 +153,8 @@ def main(global_config, **settings):
|
|||
"""
|
||||
This function returns a Pyramid WSGI application.
|
||||
"""
|
||||
settings.setdefault('mako.directories', ['tailbone:templates'])
|
||||
rattail_config = make_rattail_config(settings)
|
||||
pyramid_config = make_pyramid_config(settings)
|
||||
pyramid_config.include('tailbone')
|
||||
return pyramid_config.make_wsgi_app()
|
||||
|
|
Loading…
Reference in a new issue