view 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
line wrap: on
line source

[buildout]
parts = flask wsgi
develop = src

[flask]
recipe = zc.recipe.egg
eggs = 
     Flask
     WTForms
     ordereddict
     argparse
     ltpdarepo
     zope.testbrowser [wsgi]
interpreter = python

[wsgi]
recipe = zc.recipe.egg
eggs = ${flask:eggs}
entry-points =
    wsgi=ltpdarepo:main
initialization =
    from ltpdarepo import app as application
    application.config.from_pyfile('${buildout:directory}/src/ltpdarepo/config.py')