annotate buildout.cfg @ 25:04b93e15bb71

Rework command line administration tool. Use 'argparse' module for command line parsing. Therefore add argparse to installed eggs. Remove code duplication from admin.py and web interface support classes.
author Daniele Nicolodi <daniele@grinta.net>
date Mon, 27 Jun 2011 16:16:07 +0200
parents 2b7f9772585a
children 9e6494e126b3
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]
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
2 parts = flask wsgi
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
3 develop = src
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
4
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
5 [flask]
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
6 recipe = zc.recipe.egg
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
7 eggs =
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
8 Flask
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
9 WTForms
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
10 ordereddict
25
04b93e15bb71 Rework command line administration tool.
Daniele Nicolodi <daniele@grinta.net>
parents: 1
diff changeset
11 argparse
0
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
12 ltpdarepo
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
13 zope.testbrowser [wsgi]
c812c3020b63 Initial import.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff changeset
14 interpreter = python
1
2b7f9772585a Add buildout section to create WSGI app declaration.
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
15
2b7f9772585a Add buildout section to create WSGI app declaration.
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
16 [wsgi]
2b7f9772585a Add buildout section to create WSGI app declaration.
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
17 recipe = zc.recipe.egg
2b7f9772585a Add buildout section to create WSGI app declaration.
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
18 eggs = ${flask:eggs}
2b7f9772585a Add buildout section to create WSGI app declaration.
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
19 entry-points =
2b7f9772585a Add buildout section to create WSGI app declaration.
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
20 wsgi=ltpdarepo:main
2b7f9772585a Add buildout section to create WSGI app declaration.
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
21 initialization =
2b7f9772585a Add buildout section to create WSGI app declaration.
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
22 from ltpdarepo import app as application
2b7f9772585a Add buildout section to create WSGI app declaration.
Daniele Nicolodi <daniele@grinta.net>
parents: 0
diff changeset
23 application.config.from_pyfile('${buildout:directory}/src/ltpdarepo/config.py')