diff buildout.cfg @ 1:2b7f9772585a

Add buildout section to create WSGI app declaration.
author Daniele Nicolodi <daniele@grinta.net>
date Mon, 27 Jun 2011 16:28:23 +0200
parents c812c3020b63
children 04b93e15bb71
line wrap: on
line diff
--- 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')