view 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 source

[buildout]
parts = flask wsgi
develop = src

[flask]
recipe = zc.recipe.egg
eggs = 
     Flask
     WTForms
     ordereddict
     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')