view buildout.cfg @ 210:5b1649631cee

Update TODO.
author Daniele Nicolodi <daniele@grinta.net>
date Thu, 17 Nov 2011 14:32:56 +0100
parents fd572809cb18
children ca6999a5b402
line wrap: on
line source

[buildout]
include-site-packages = false
parts = install instance wsgi
develop = src

# install software
[install]
recipe = zc.recipe.egg
eggs = 
  distribute
  Flask
  WTForms
  ordereddict
  argparse
  itsdangerous
  python-dateutil < 2.0
  ltpdarepo
interpreter = python
scripts =

# generate scripts pointing to the right configuration file
[instance]
recipe = zc.recipe.egg:script
eggs = ${install:eggs}
scripts = run admin
arguments = '${buildout:directory}/etc/ltpdarepo'

# generate wsgi application
[wsgi]
recipe = zc.recipe.egg:script
eggs = ${install:eggs}
scripts = wsgi
entry-points =
  wsgi=ltpdarepo:main
initialization = 
  from ltpdarepo import Application
  application = Application('${buildout:directory}/etc/ltpdarepo')