# HG changeset patch # User Daniele Nicolodi # Date 1321467022 -3600 # Node ID d6b205e8c1f9162cc6e6cafd9f70e815390e140e # Parent fefbc0193dbecad1a90d23499ba7e09ff91cde7e Generate WSGI script in buildout. diff -r fefbc0193dbe -r d6b205e8c1f9 buildout.cfg --- 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()