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

[buildout]
include-site-packages = false
parts = flask wsgi
develop = src

[flask]
recipe = zc.recipe.egg
eggs = 
  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()