comparison 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
comparison
equal deleted inserted replaced
203:fefbc0193dbe 204:d6b205e8c1f9
1 [buildout] 1 [buildout]
2 include-site-packages = false 2 include-site-packages = false
3 parts = flask 3 parts = flask wsgi
4 develop = src 4 develop = src
5 5
6 [flask] 6 [flask]
7 recipe = zc.recipe.egg 7 recipe = zc.recipe.egg
8 eggs = 8 eggs =
9 distribute 9 distribute
10 Flask 10 Flask
11 WTForms 11 WTForms
12 ordereddict 12 ordereddict
13 argparse 13 argparse
14 itsdangerous 14 itsdangerous
15 python-dateutil < 2.0 15 python-dateutil < 2.0
16 ltpdarepo 16 ltpdarepo
17 interpreter = python 17 interpreter = python
18 scripts = run admin 18 scripts = run admin
19
20 [wsgi]
21 recipe = zc.recipe.egg:script
22 eggs = ${flask:eggs}
23 scripts = wsgi
24 entry-points =
25 wsgi=ltpdarepo:main
26 initialization =
27 from ltpdarepo import Application
28 application = Application()