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

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

# install software
[install]
recipe = zc.recipe.egg
eggs = ltpdarepo
interpreter = python
scripts =

# generate scripts pointing to the right configuration file
[instance]
recipe = zc.recipe.egg:script
eggs = ${install:eggs}
scripts = run admin sql2dot
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')