source: main/waeup.kofa/trunk/buildout.cfg @ 8153

Last change on this file since 8153 was 8006, checked in by uli, 13 years ago

We need ZODB3 to get a runzeo script, needed by ZEO scripts.

File size: 4.9 KB
RevLine 
[3516]1[buildout]
2develop = .
[5495]3parts =
4    eggbasket
5    app
6    i18n
7    test
8    mkdirs
9    zpasswd
10    zope_conf
11    site_zcml
12    zdaemon_conf
13    deploy_ini
14    debug_ini
[7482]15    profile_ini
[5495]16    waeupdocs
17    coverage-detect
18    coverage-report
[7808]19# kofactl creation must be _after_ app!
20    kofactl
[5495]21# For backward compatibility, telling buildout not to throw away
22# the data and log subdirectories from the parts directory.
23    data
24    log
[5660]25# newest = false
[5495]26
27#extends = versions.cfg
[5328]28extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg
[5495]29# eggs will be installed in the default buildout location
30# (see .buildout/default.cfg in your home directory)
31# unless you specify an eggs-directory option here.
32
[3516]33versions = versions
34
[4789]35[versions]
[6287]36collective.recipe.sphinxbuilder = 0.7.0
[6349]37hurry.workflow = 0.11
[6287]38# Pinned to circumvent breakage in 0.4.x
39hurry.zoperesource = 0.6
40# Pinned to prevent buildout svn-error.
41lovely.recipe = 1.0.0
[5058]42megrok.layout = 1.0.2
[6194]43reportlab = 2.5
[6308]44transaction = 1.1.0
[6287]45z3c.testsetup = 0.6.1
[6308]46zc.buildout = 1.5.0
47zc.recipe.egg = 1.3.0
48zc.recipe.testrunner = 1.4.0
49zope.app.testing = 3.8.1
[6287]50# for support of @provider directive
51zope.interface = 3.6.3
52# for support of contextual default values
53zope.schema = 3.8.0
[6308]54zope.testing = 3.10.2
[6287]55zope.xmlpickle = 3.4.0
56# Require latest version...
[7063]57Sphinx = 1.0.7
[6308]58ZODB3 = 3.10.3
[6871]59docutils = 0.7
60Jinja2 = 2.3
[4789]61
[3516]62[app]
[7808]63# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]64recipe = zc.recipe.egg
[7808]65eggs = waeup.kofa [beaker]
[5495]66       z3c.evalexception>=2.0
67       Paste
68       PasteScript
69       PasteDeploy
[7482]70       repoze.profile
[8006]71       ZODB3
[5495]72interpreter = python-console
[3516]73
[7808]74[kofactl]
[5503]75# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7808]76# Here we create the kofactl script again, this time with a
[5503]77# fixed path to zdaemon.conf as argument.
78recipe = zc.recipe.egg
[7808]79eggs = waeup.kofa [beaker]
[5503]80arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7808]81scripts = kofactl=kofactl
[5503]82
[5495]83[mkdirs]
84recipe = z3c.recipe.mkdir
85paths =
86    ${zope_conf:filestorage}
87    ${zope_conf:logfiles}
88    ${zope_conf:blobstorage}
[7470]89    ${buildout:directory}/var/mailqueue/cur
90    ${buildout:directory}/var/mailqueue/tmp
91    ${buildout:directory}/var/mailqueue/new
[7578]92    ${buildout:directory}/var/datacenter/media
[7583]93    ${buildout:directory}/parts/test/datacenter
[4789]94
[5495]95[test]
96recipe = zc.recipe.testrunner
[7808]97eggs = waeup.kofa [beaker, test]
[5495]98defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]99
[5495]100# this section named so that the i18n scripts are called bin/i18n...
101[i18n]
102recipe = z3c.recipe.i18n:i18n
[7808]103packages = waeup.kofa
104eggs = waeup.kofa
105domain = waeup.kofa
106output = src/waeup/kofa/locales
[5495]107zcml =
[4789]108
[5495]109# This section is named so that the zpasswd utility is
110# called `zpasswd`
111[zpasswd]
112recipe = z3c.recipe.dev:script
[7808]113eggs = waeup.kofa
[5495]114module = zope.app.server.zpasswd
115method = main
[3516]116
[5495]117[zope_conf]
118recipe = collective.recipe.template
119input = etc/zope.conf.in
120output = ${buildout:parts-directory}/etc/zope.conf
121filestorage = ${buildout:directory}/var/filestorage
122blobstorage = ${buildout:directory}/var/blobstorage
123logfiles = ${buildout:directory}/var/log
124extra =
125# extra = <grokwarnings>True</grokwarnings>
126# 'extra' is copied verbatim. Use it for product config sections and so.
127
128# The [data] and [log] parts are still in here to instruct buildout to not
129# unintentionally throw away the parts/data and parts/log subdirectories
130# that contain the Data.fs and the log files. These files should be
131# copied to the new locations. See the upgrade notes for more information.
[3516]132[data]
133recipe = zc.recipe.filestorage
134
[5495]135[log]
136recipe = zc.recipe.filestorage
[3516]137
[7470]138[mailqueue]
139recipe = zc.recipe.filestorage
140
[5495]141[site_zcml]
142recipe = collective.recipe.template
143input = etc/site.zcml.in
144output = ${buildout:parts-directory}/etc/site.zcml
[3516]145
[5495]146[zdaemon_conf]
147recipe = collective.recipe.template
148input = etc/zdaemon.conf.in
149output = ${buildout:parts-directory}/etc/zdaemon.conf
150
151[deploy_ini]
152recipe = collective.recipe.template
153input = etc/deploy.ini.in
154output = ${buildout:parts-directory}/etc/deploy.ini
155
156[debug_ini]
157recipe = collective.recipe.template
158input = etc/debug.ini.in
159output = ${buildout:parts-directory}/etc/debug.ini
160
[7482]161[profile_ini]
162recipe = collective.recipe.template
163input = etc/profile.ini.in
164output = ${buildout:parts-directory}/etc/profile.ini
165
[5495]166[eggbasket]
167recipe = z3c.recipe.eggbasket
168eggs = grok
169url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
170
171[waeupdocs]
172recipe = collective.recipe.sphinxbuilder
[7808]173eggs = waeup.kofa[docs]
[5495]174source = ${buildout:directory}/docs/source
175build = ${buildout:directory}/docs/build
176
[4789]177# Collect test coverage data.
178[coverage-detect]
179recipe = zc.recipe.testrunner
[7808]180eggs = waeup.kofa[beaker]
[4789]181defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
182
183# Create a coverage report.
184# Make sure to run bin/coverage-detect to collect the data for the report
185# first!
186[coverage-report]
187recipe = zc.recipe.egg
188eggs = z3c.coverage
[5226]189scripts = coveragereport
[6398]190arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.