Mercurial > hg > ltpdarepo
diff buildout.cfg @ 204:d6b205e8c1f9
Generate WSGI script in buildout.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Wed, 16 Nov 2011 19:10:22 +0100 |
parents | 49ae14f1eaef |
children | fd572809cb18 |
line wrap: on
line diff
--- a/buildout.cfg Wed Nov 16 19:10:16 2011 +0100 +++ b/buildout.cfg Wed Nov 16 19:10:22 2011 +0100 @@ -1,18 +1,28 @@ [buildout] include-site-packages = false -parts = flask +parts = flask wsgi develop = src [flask] recipe = zc.recipe.egg eggs = - distribute - Flask - WTForms - ordereddict - argparse - itsdangerous - python-dateutil < 2.0 - ltpdarepo + distribute + Flask + WTForms + ordereddict + argparse + itsdangerous + python-dateutil < 2.0 + ltpdarepo interpreter = python scripts = run admin + +[wsgi] +recipe = zc.recipe.egg:script +eggs = ${flask:eggs} +scripts = wsgi +entry-points = + wsgi=ltpdarepo:main +initialization = + from ltpdarepo import Application + application = Application()