view buildout.cfg @ 213:3d524d31d1c2

Move setup.py to better location.
author Daniele Nicolodi <daniele@grinta.net>
date Fri, 18 Nov 2011 01:49:52 +0100
parents ca6999a5b402
children cbbc747949f9
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
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')