[buildout]
develop = .
versions = versions
parts = ophelia apachesite test sphinx
unzip = true
download-cache = ${buildout:directory}/cache

[versions]
Jinja2 = 2.5.5
Pygments = 1.4
RestrictedPython = 3.6.0
Sphinx = 1.0.7
docutils = 0.7
pkginfo = 0.8
pytz = 2011e
repoze.sphinx.autointerface = 0.6.2
setuptools = 0.6c12dev-r88795
tl.buildout-apache = 0.3
tl.eggdeps = 0.4
virtualenv = 1.6
wsgiref = 0.1.2
zc.recipe.cmmi = 1.3.4
zope.browser = 1.3
zope.component = 3.10.0
zope.configuration = 3.7.4
zope.contenttype = 3.5.3
zope.event = 3.5.0-1
zope.exceptions = 3.6.1
zope.i18n = 3.7.4
zope.i18nmessageid = 3.5.3
zope.interface = 3.6.1
zope.location = 3.9.0
zope.pagetemplate = 3.5.2
zope.proxy = 3.6.1
zope.publisher = 3.12.6
zope.schema = 3.8.0
zope.security = 3.8.0
zope.tal = 3.4.1
zope.tales = 3.5.1
zope.testing = 3.10.2
zope.testrunner = 4.0.3
zope.traversing = 3.14.0

[ophelia]
recipe = zc.recipe.egg
eggs = ophelia [wsgiref]
       tl.eggdeps
interpreter = py
arguments = config_file="${buildout:directory}/.installed.cfg",
            section="ophelia"
template-root = ${buildout:directory}/example/ophelia_pages
site = http://${ophelia:host}:${ophelia:port}/

[apache]
recipe = tl.buildout_apache:httpd

[mod-python]
recipe = tl.buildout_apache:modpython
httpd = apache

[apachesite]
recipe = tl.buildout_apache:root
httpd = apache
python = mod-python
modules = authz_host dir autoindex
htdocs = example/static
eggs = ophelia
extra-config =
    PythonInterpreter main_interpreter
    PythonOption template_root ${ophelia:template-root}
    PythonOption site http://${apachesite:servername}/
    PythonFixupHandler ophelia.modpython

[test]
recipe = zc.recipe.testrunner
eggs = ophelia [test]
defaults = ["-v", "-c", "-s", "ophelia"]

[sphinx]
recipe = zc.recipe.egg
eggs = sphinx
       repoze.sphinx.autointerface
       pkginfo
       ophelia
scripts = sphinx-build
arguments = argv=sys.argv+("-E -c doc/ -d build/sphinx/doctrees"
                           " . build/sphinx/html/").split()
