Mercurial > hg > ltpdarepo
annotate buildout.cfg @ 249:863e3e81498c
Merge with stable
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Tue, 27 Dec 2011 19:00:04 +0100 |
parents | 3d524d31d1c2 |
children | cbbc747949f9 |
rev | line source |
---|---|
0 | 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 |
213
3d524d31d1c2
Move setup.py to better location.
Daniele Nicolodi <daniele@grinta.net>
parents:
212
diff
changeset
|
4 develop = . |
0 | 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 | 8 recipe = zc.recipe.egg |
212 | 9 eggs = ltpdarepo |
0 | 10 interpreter = python |
205
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
204
diff
changeset
|
11 scripts = |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
204
diff
changeset
|
12 |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
204
diff
changeset
|
13 # 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
|
14 [instance] |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
204
diff
changeset
|
15 recipe = zc.recipe.egg:script |
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
204
diff
changeset
|
16 eggs = ${install:eggs} |
99
f6baba33612e
Explicitly list generated scripts in buildout. Drop wsgi buildout section.
Daniele Nicolodi <daniele@grinta.net>
parents:
84
diff
changeset
|
17 scripts = run admin |
205
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
204
diff
changeset
|
18 arguments = '${buildout:directory}/etc/ltpdarepo' |
204
d6b205e8c1f9
Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents:
153
diff
changeset
|
19 |
205
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
204
diff
changeset
|
20 # generate wsgi application |
204
d6b205e8c1f9
Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents:
153
diff
changeset
|
21 [wsgi] |
d6b205e8c1f9
Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents:
153
diff
changeset
|
22 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
|
23 eggs = ${install:eggs} |
204
d6b205e8c1f9
Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents:
153
diff
changeset
|
24 scripts = wsgi |
d6b205e8c1f9
Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents:
153
diff
changeset
|
25 entry-points = |
d6b205e8c1f9
Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents:
153
diff
changeset
|
26 wsgi=ltpdarepo:main |
d6b205e8c1f9
Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents:
153
diff
changeset
|
27 initialization = |
d6b205e8c1f9
Generate WSGI script in buildout.
Daniele Nicolodi <daniele@grinta.net>
parents:
153
diff
changeset
|
28 from ltpdarepo import Application |
205
fd572809cb18
Add local configuration file as arguments to user scripts.
Daniele Nicolodi <daniele@grinta.net>
parents:
204
diff
changeset
|
29 application = Application('${buildout:directory}/etc/ltpdarepo') |