Mercurial > hg > ltpdarepo
annotate buildout.cfg @ 251:cbbc747949f9
Add new sql2dot tool to generate database diagram.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Thu, 26 Apr 2012 19:03:39 +0200 |
parents | 3d524d31d1c2 |
children | 773d9567dcb2 |
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} |
251
cbbc747949f9
Add new sql2dot tool to generate database diagram.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
213
diff
changeset
|
17 scripts = run admin sql2dot |
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') |