annotate buildout.cfg @ 205:fd572809cb18

Add local configuration file as arguments to user scripts. * * * Example configuration file.
author Daniele Nicolodi <daniele@grinta.net>
date Wed, 16 Nov 2011 19:10:28 +0100
parents d6b205e8c1f9
children ca6999a5b402
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
1 [buildout]
106
0d259fd52ca0 Implement validation of advanced query parameters.
Daniele Nicolodi <daniele@grinta.net>
parents: 99
diff changeset
2 include-site-packages = false
205
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
3 parts = install instance wsgi
0
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
4 develop = src
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
5
205
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
6 # install software
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
7 [install]
0
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
8 recipe = zc.recipe.egg
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
9 eggs =
204
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
10 distribute
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
11 Flask
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
12 WTForms
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
13 ordereddict
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
14 argparse
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
15 itsdangerous
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
16 python-dateutil < 2.0
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
17 ltpdarepo
0
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
18 interpreter = python
205
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
19 scripts =
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
20
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
21 # generate scripts pointing to the right configuration file
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
22 [instance]
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
23 recipe = zc.recipe.egg:script
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
24 eggs = ${install:eggs}
99
f6baba33612e Explicitly list generated scripts in buildout. Drop wsgi buildout section.
Daniele Nicolodi <daniele@grinta.net>
parents: 84
diff changeset
25 scripts = run admin
205
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
26 arguments = '${buildout:directory}/etc/ltpdarepo'
204
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
27
205
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
28 # generate wsgi application
204
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
29 [wsgi]
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
30 recipe = zc.recipe.egg:script
205
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
31 eggs = ${install:eggs}
204
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
32 scripts = wsgi
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
33 entry-points =
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
34 wsgi=ltpdarepo:main
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
35 initialization =
d6b205e8c1f9 Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents: 153
diff changeset
36 from ltpdarepo import Application
205
fd572809cb18 Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents: 204
diff changeset
37 application = Application('${buildout:directory}/etc/ltpdarepo')