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

Last change on this file since 8566 was 8357, checked in by uli, 13 years ago

Put versions into separate config file.

File size: 4.2 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
[8357]27extends = versions.cfg
28
[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]33[app]
[7808]34# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]35recipe = zc.recipe.egg
[7808]36eggs = waeup.kofa [beaker]
[5495]37       z3c.evalexception>=2.0
38       Paste
39       PasteScript
40       PasteDeploy
[7482]41       repoze.profile
[8006]42       ZODB3
[5495]43interpreter = python-console
[3516]44
[7808]45[kofactl]
[5503]46# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7808]47# Here we create the kofactl script again, this time with a
[5503]48# fixed path to zdaemon.conf as argument.
49recipe = zc.recipe.egg
[7808]50eggs = waeup.kofa [beaker]
[5503]51arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7808]52scripts = kofactl=kofactl
[5503]53
[5495]54[mkdirs]
55recipe = z3c.recipe.mkdir
56paths =
57    ${zope_conf:filestorage}
58    ${zope_conf:logfiles}
59    ${zope_conf:blobstorage}
[7470]60    ${buildout:directory}/var/mailqueue/cur
61    ${buildout:directory}/var/mailqueue/tmp
62    ${buildout:directory}/var/mailqueue/new
[7578]63    ${buildout:directory}/var/datacenter/media
[7583]64    ${buildout:directory}/parts/test/datacenter
[4789]65
[5495]66[test]
67recipe = zc.recipe.testrunner
[7808]68eggs = waeup.kofa [beaker, test]
[5495]69defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]70
[5495]71# this section named so that the i18n scripts are called bin/i18n...
72[i18n]
73recipe = z3c.recipe.i18n:i18n
[7808]74packages = waeup.kofa
75eggs = waeup.kofa
76domain = waeup.kofa
77output = src/waeup/kofa/locales
[5495]78zcml =
[4789]79
[5495]80# This section is named so that the zpasswd utility is
81# called `zpasswd`
82[zpasswd]
83recipe = z3c.recipe.dev:script
[7808]84eggs = waeup.kofa
[5495]85module = zope.app.server.zpasswd
86method = main
[3516]87
[5495]88[zope_conf]
89recipe = collective.recipe.template
90input = etc/zope.conf.in
91output = ${buildout:parts-directory}/etc/zope.conf
92filestorage = ${buildout:directory}/var/filestorage
93blobstorage = ${buildout:directory}/var/blobstorage
94logfiles = ${buildout:directory}/var/log
95extra =
96# extra = <grokwarnings>True</grokwarnings>
97# 'extra' is copied verbatim. Use it for product config sections and so.
98
99# The [data] and [log] parts are still in here to instruct buildout to not
100# unintentionally throw away the parts/data and parts/log subdirectories
101# that contain the Data.fs and the log files. These files should be
102# copied to the new locations. See the upgrade notes for more information.
[3516]103[data]
104recipe = zc.recipe.filestorage
105
[5495]106[log]
107recipe = zc.recipe.filestorage
[3516]108
[7470]109[mailqueue]
110recipe = zc.recipe.filestorage
111
[5495]112[site_zcml]
113recipe = collective.recipe.template
114input = etc/site.zcml.in
115output = ${buildout:parts-directory}/etc/site.zcml
[3516]116
[5495]117[zdaemon_conf]
118recipe = collective.recipe.template
119input = etc/zdaemon.conf.in
120output = ${buildout:parts-directory}/etc/zdaemon.conf
121
122[deploy_ini]
123recipe = collective.recipe.template
124input = etc/deploy.ini.in
125output = ${buildout:parts-directory}/etc/deploy.ini
126
127[debug_ini]
128recipe = collective.recipe.template
129input = etc/debug.ini.in
130output = ${buildout:parts-directory}/etc/debug.ini
131
[7482]132[profile_ini]
133recipe = collective.recipe.template
134input = etc/profile.ini.in
135output = ${buildout:parts-directory}/etc/profile.ini
136
[5495]137[eggbasket]
138recipe = z3c.recipe.eggbasket
139eggs = grok
140url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
141
142[waeupdocs]
143recipe = collective.recipe.sphinxbuilder
[7808]144eggs = waeup.kofa[docs]
[5495]145source = ${buildout:directory}/docs/source
146build = ${buildout:directory}/docs/build
147
[4789]148# Collect test coverage data.
149[coverage-detect]
150recipe = zc.recipe.testrunner
[7808]151eggs = waeup.kofa[beaker]
[4789]152defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
153
154# Create a coverage report.
155# Make sure to run bin/coverage-detect to collect the data for the report
156# first!
157[coverage-report]
158recipe = zc.recipe.egg
159eggs = z3c.coverage
[5226]160scripts = coveragereport
[6398]161arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.