# HG changeset patch # User Daniele Nicolodi # Date 1309184903 -7200 # Node ID 2b7f9772585ad54f5c2c6feba51347774fdf2be4 # Parent c812c3020b634ea1e07e07024a5adabb1d330b6c Add buildout section to create WSGI app declaration. diff -r c812c3020b63 -r 2b7f9772585a buildout.cfg --- a/buildout.cfg Thu Jun 09 13:16:24 2011 +0200 +++ b/buildout.cfg Mon Jun 27 16:28:23 2011 +0200 @@ -11,3 +11,12 @@ ltpdarepo zope.testbrowser [wsgi] interpreter = python + +[wsgi] +recipe = zc.recipe.egg +eggs = ${flask:eggs} +entry-points = + wsgi=ltpdarepo:main +initialization = + from ltpdarepo import app as application + application.config.from_pyfile('${buildout:directory}/src/ltpdarepo/config.py')