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

Last change on this file since 8224 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
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
27#extends = versions.cfg
28extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg
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
33versions = versions
34
35[versions]
36collective.recipe.sphinxbuilder = 0.7.0
37hurry.workflow = 0.11
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
42megrok.layout = 1.0.2
43reportlab = 2.5
44transaction = 1.1.0
45z3c.testsetup = 0.6.1
46zc.buildout = 1.5.0
47zc.recipe.egg = 1.3.0
48zc.recipe.testrunner = 1.4.0
49zope.app.testing = 3.8.1
50# for support of @provider directive
51zope.interface = 3.6.3
52# for support of contextual default values
53zope.schema = 3.8.0
54zope.testing = 3.10.2
55zope.xmlpickle = 3.4.0
56# Require latest version...
57Sphinx = 1.0.7
58ZODB3 = 3.10.3
59docutils = 0.7
60Jinja2 = 2.3
61
62[app]
63# This creates all scripts in bin/. The kofactl created here is 'faulty'.
64recipe = zc.recipe.egg
65eggs = waeup.kofa [beaker]
66       z3c.evalexception>=2.0
67       Paste
68       PasteScript
69       PasteDeploy
70       repoze.profile
71       ZODB3
72interpreter = python-console
73
74[kofactl]
75# See http://pypi.python.org/pypi/zc.recipe.egg for details...
76# Here we create the kofactl script again, this time with a
77# fixed path to zdaemon.conf as argument.
78recipe = zc.recipe.egg
79eggs = waeup.kofa [beaker]
80arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
81scripts = kofactl=kofactl
82
83[mkdirs]
84recipe = z3c.recipe.mkdir
85paths =
86    ${zope_conf:filestorage}
87    ${zope_conf:logfiles}
88    ${zope_conf:blobstorage}
89    ${buildout:directory}/var/mailqueue/cur
90    ${buildout:directory}/var/mailqueue/tmp
91    ${buildout:directory}/var/mailqueue/new
92    ${buildout:directory}/var/datacenter/media
93    ${buildout:directory}/parts/test/datacenter
94
95[test]
96recipe = zc.recipe.testrunner
97eggs = waeup.kofa [beaker, test]
98defaults = ['--tests-pattern', '^f?tests$', '-v']
99
100# this section named so that the i18n scripts are called bin/i18n...
101[i18n]
102recipe = z3c.recipe.i18n:i18n
103packages = waeup.kofa
104eggs = waeup.kofa
105domain = waeup.kofa
106output = src/waeup/kofa/locales
107zcml =
108
109# This section is named so that the zpasswd utility is
110# called `zpasswd`
111[zpasswd]
112recipe = z3c.recipe.dev:script
113eggs = waeup.kofa
114module = zope.app.server.zpasswd
115method = main
116
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.
132[data]
133recipe = zc.recipe.filestorage
134
135[log]
136recipe = zc.recipe.filestorage
137
138[mailqueue]
139recipe = zc.recipe.filestorage
140
141[site_zcml]
142recipe = collective.recipe.template
143input = etc/site.zcml.in
144output = ${buildout:parts-directory}/etc/site.zcml
145
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
161[profile_ini]
162recipe = collective.recipe.template
163input = etc/profile.ini.in
164output = ${buildout:parts-directory}/etc/profile.ini
165
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
173eggs = waeup.kofa[docs]
174source = ${buildout:directory}/docs/source
175build = ${buildout:directory}/docs/build
176
177# Collect test coverage data.
178[coverage-detect]
179recipe = zc.recipe.testrunner
180eggs = waeup.kofa[beaker]
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
189scripts = coveragereport
190arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.