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

Last change on this file since 8353 was 8345, checked in by uli, 13 years ago

Pin newer zope.password version as this one allows unicode passwords.

File size: 5.0 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# for support of unicode encoded passwords
62zope.password = 3.6.1
63
64[app]
65# This creates all scripts in bin/. The kofactl created here is 'faulty'.
66recipe = zc.recipe.egg
67eggs = waeup.kofa [beaker]
68       z3c.evalexception>=2.0
69       Paste
70       PasteScript
71       PasteDeploy
72       repoze.profile
73       ZODB3
74interpreter = python-console
75
76[kofactl]
77# See http://pypi.python.org/pypi/zc.recipe.egg for details...
78# Here we create the kofactl script again, this time with a
79# fixed path to zdaemon.conf as argument.
80recipe = zc.recipe.egg
81eggs = waeup.kofa [beaker]
82arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
83scripts = kofactl=kofactl
84
85[mkdirs]
86recipe = z3c.recipe.mkdir
87paths =
88    ${zope_conf:filestorage}
89    ${zope_conf:logfiles}
90    ${zope_conf:blobstorage}
91    ${buildout:directory}/var/mailqueue/cur
92    ${buildout:directory}/var/mailqueue/tmp
93    ${buildout:directory}/var/mailqueue/new
94    ${buildout:directory}/var/datacenter/media
95    ${buildout:directory}/parts/test/datacenter
96
97[test]
98recipe = zc.recipe.testrunner
99eggs = waeup.kofa [beaker, test]
100defaults = ['--tests-pattern', '^f?tests$', '-v']
101
102# this section named so that the i18n scripts are called bin/i18n...
103[i18n]
104recipe = z3c.recipe.i18n:i18n
105packages = waeup.kofa
106eggs = waeup.kofa
107domain = waeup.kofa
108output = src/waeup/kofa/locales
109zcml =
110
111# This section is named so that the zpasswd utility is
112# called `zpasswd`
113[zpasswd]
114recipe = z3c.recipe.dev:script
115eggs = waeup.kofa
116module = zope.app.server.zpasswd
117method = main
118
119[zope_conf]
120recipe = collective.recipe.template
121input = etc/zope.conf.in
122output = ${buildout:parts-directory}/etc/zope.conf
123filestorage = ${buildout:directory}/var/filestorage
124blobstorage = ${buildout:directory}/var/blobstorage
125logfiles = ${buildout:directory}/var/log
126extra =
127# extra = <grokwarnings>True</grokwarnings>
128# 'extra' is copied verbatim. Use it for product config sections and so.
129
130# The [data] and [log] parts are still in here to instruct buildout to not
131# unintentionally throw away the parts/data and parts/log subdirectories
132# that contain the Data.fs and the log files. These files should be
133# copied to the new locations. See the upgrade notes for more information.
134[data]
135recipe = zc.recipe.filestorage
136
137[log]
138recipe = zc.recipe.filestorage
139
140[mailqueue]
141recipe = zc.recipe.filestorage
142
143[site_zcml]
144recipe = collective.recipe.template
145input = etc/site.zcml.in
146output = ${buildout:parts-directory}/etc/site.zcml
147
148[zdaemon_conf]
149recipe = collective.recipe.template
150input = etc/zdaemon.conf.in
151output = ${buildout:parts-directory}/etc/zdaemon.conf
152
153[deploy_ini]
154recipe = collective.recipe.template
155input = etc/deploy.ini.in
156output = ${buildout:parts-directory}/etc/deploy.ini
157
158[debug_ini]
159recipe = collective.recipe.template
160input = etc/debug.ini.in
161output = ${buildout:parts-directory}/etc/debug.ini
162
163[profile_ini]
164recipe = collective.recipe.template
165input = etc/profile.ini.in
166output = ${buildout:parts-directory}/etc/profile.ini
167
168[eggbasket]
169recipe = z3c.recipe.eggbasket
170eggs = grok
171url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
172
173[waeupdocs]
174recipe = collective.recipe.sphinxbuilder
175eggs = waeup.kofa[docs]
176source = ${buildout:directory}/docs/source
177build = ${buildout:directory}/docs/build
178
179# Collect test coverage data.
180[coverage-detect]
181recipe = zc.recipe.testrunner
182eggs = waeup.kofa[beaker]
183defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
184
185# Create a coverage report.
186# Make sure to run bin/coverage-detect to collect the data for the report
187# first!
188[coverage-report]
189recipe = zc.recipe.egg
190eggs = z3c.coverage
191scripts = coveragereport
192arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.