view buildout.cfg @ 258:773d9567dcb2

Update to current buildout.
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 29 Sep 2014 13:52:20 +0200
parents cbbc747949f9
children
line wrap: on
line source

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

# install software
[install]
recipe = zc.recipe.egg
eggs = ltpdarepo
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')