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

Last change on this file since 8575 was 8357, checked in by uli, 12 years ago

Put versions into separate config file.

File size: 4.2 KB
Line 
1[buildout]
2develop = .
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
15    profile_ini
16    waeupdocs
17    coverage-detect
18    coverage-report
19# kofactl creation must be _after_ app!
20    kofactl
21# For backward compatibility, telling buildout not to throw away
22# the data and log subdirectories from the parts directory.
23    data
24    log
25# newest = false
26
27extends = versions.cfg
28
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
33[app]
34# This creates all scripts in bin/. The kofactl created here is 'faulty'.
35recipe = zc.recipe.egg
36eggs = waeup.kofa [beaker]
37       z3c.evalexception>=2.0
38       Paste
39       PasteScript
40       PasteDeploy
41       repoze.profile
42       ZODB3
43interpreter = python-console
44
45[kofactl]
46# See http://pypi.python.org/pypi/zc.recipe.egg for details...
47# Here we create the kofactl script again, this time with a
48# fixed path to zdaemon.conf as argument.
49recipe = zc.recipe.egg
50eggs = waeup.kofa [beaker]
51arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
52scripts = kofactl=kofactl
53
54[mkdirs]
55recipe = z3c.recipe.mkdir
56paths =
57    ${zope_conf:filestorage}
58    ${zope_conf:logfiles}
59    ${zope_conf:blobstorage}
60    ${buildout:directory}/var/mailqueue/cur
61    ${buildout:directory}/var/mailqueue/tmp
62    ${buildout:directory}/var/mailqueue/new
63    ${buildout:directory}/var/datacenter/media
64    ${buildout:directory}/parts/test/datacenter
65
66[test]
67recipe = zc.recipe.testrunner
68eggs = waeup.kofa [beaker, test]
69defaults = ['--tests-pattern', '^f?tests$', '-v']
70
71# this section named so that the i18n scripts are called bin/i18n...
72[i18n]
73recipe = z3c.recipe.i18n:i18n
74packages = waeup.kofa
75eggs = waeup.kofa
76domain = waeup.kofa
77output = src/waeup/kofa/locales
78zcml =
79
80# This section is named so that the zpasswd utility is
81# called `zpasswd`
82[zpasswd]
83recipe = z3c.recipe.dev:script
84eggs = waeup.kofa
85module = zope.app.server.zpasswd
86method = main
87
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.
103[data]
104recipe = zc.recipe.filestorage
105
106[log]
107recipe = zc.recipe.filestorage
108
109[mailqueue]
110recipe = zc.recipe.filestorage
111
112[site_zcml]
113recipe = collective.recipe.template
114input = etc/site.zcml.in
115output = ${buildout:parts-directory}/etc/site.zcml
116
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
132[profile_ini]
133recipe = collective.recipe.template
134input = etc/profile.ini.in
135output = ${buildout:parts-directory}/etc/profile.ini
136
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
144eggs = waeup.kofa[docs]
145source = ${buildout:directory}/docs/source
146build = ${buildout:directory}/docs/build
147
148# Collect test coverage data.
149[coverage-detect]
150recipe = zc.recipe.testrunner
151eggs = waeup.kofa[beaker]
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
160scripts = coveragereport
161arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.