source: main/waeup.kofa/branches/0.2/buildout.cfg @ 17306

Last change on this file since 17306 was 10110, checked in by uli, 12 years ago

Enable automatic pinning of package versions and pin versions of packages that weren't pinned yet.

File size: 4.8 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
28show-picked-versions = true
29update-versions-file = versions.cfg
30
31# eggs will be installed in the default buildout location
32# (see .buildout/default.cfg in your home directory)
33# unless you specify an eggs-directory option here.
34
35[kofa_params]
36## Basic parameters for deployment.
37# default is 127.0.0.1
38host = 0.0.0.0
39# default is 8080
40base_port = 8080
41zeo1_port = 8080
42zeo2_port = 8081
43zeo3_port = 8082
44server_port = 8100
45# default 7. Number of pre-opened ZODB threads/client
46pool_size = 7
47# default 20MB. Cache size of each client (ZEO only)
48client_cache = 20MB
49# default 5000. Number of objects cached.
50object_cache = 5000
51# number of preopened paster threads, default 10
52threadpool_workers = 10
53# package to be developed
54devel_pkg = waeup.kofa
55
56[app]
57# This creates all scripts in bin/. The kofactl created here is 'faulty'.
58recipe = zc.recipe.egg
59eggs = waeup.kofa [beaker]
60       z3c.evalexception>=2.0
61       Paste
62       PasteScript
63       PasteDeploy
64       repoze.profile
65       ZODB3
66interpreter = python-console
67
68[kofactl]
69# See http://pypi.python.org/pypi/zc.recipe.egg for details...
70# Here we create the kofactl script again, this time with a
71# fixed path to zdaemon.conf as argument.
72recipe = zc.recipe.egg
73eggs = waeup.kofa [beaker]
74arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
75scripts = kofactl=kofactl
76
77[mkdirs]
78recipe = z3c.recipe.mkdir
79paths =
80    ${zope_conf:filestorage}
81    ${zope_conf:logfiles}
82    ${zope_conf:blobstorage}
83    ${buildout:directory}/var/mailqueue/cur
84    ${buildout:directory}/var/mailqueue/tmp
85    ${buildout:directory}/var/mailqueue/new
86    ${buildout:directory}/var/datacenter/media
87    ${buildout:directory}/parts/test/datacenter
88
89[test]
90recipe = zc.recipe.testrunner
91eggs = waeup.kofa [beaker, test]
92defaults = ['--tests-pattern', '^f?tests$', '-v']
93
94# this section named so that the i18n scripts are called bin/i18n...
95[i18n]
96recipe = z3c.recipe.i18n:i18n
97packages = waeup.kofa
98eggs = waeup.kofa
99domain = waeup.kofa
100output = src/waeup/kofa/locales
101zcml =
102
103# This section is named so that the zpasswd utility is
104# called `zpasswd`
105[zpasswd]
106recipe = z3c.recipe.dev:script
107eggs = waeup.kofa
108module = zope.app.server.zpasswd
109method = main
110
111[zope_conf]
112recipe = collective.recipe.template
113input = etc/zope.conf.in
114output = ${buildout:parts-directory}/etc/zope.conf
115filestorage = ${buildout:directory}/var/filestorage
116blobstorage = ${buildout:directory}/var/blobstorage
117logfiles = ${buildout:directory}/var/log
118extra =
119# extra = <grokwarnings>True</grokwarnings>
120# 'extra' is copied verbatim. Use it for product config sections and so.
121
122# The [data] and [log] parts are still in here to instruct buildout to not
123# unintentionally throw away the parts/data and parts/log subdirectories
124# that contain the Data.fs and the log files. These files should be
125# copied to the new locations. See the upgrade notes for more information.
126[data]
127recipe = zc.recipe.filestorage
128
129[log]
130recipe = zc.recipe.filestorage
131
132[mailqueue]
133recipe = zc.recipe.filestorage
134
135[site_zcml]
136recipe = collective.recipe.template
137input = etc/site.zcml.in
138output = ${buildout:parts-directory}/etc/site.zcml
139
140[zdaemon_conf]
141recipe = collective.recipe.template
142input = etc/zdaemon.conf.in
143output = ${buildout:parts-directory}/etc/zdaemon.conf
144
145[deploy_ini]
146recipe = collective.recipe.template
147input = etc/deploy.ini.in
148output = ${buildout:parts-directory}/etc/deploy.ini
149
150[debug_ini]
151recipe = collective.recipe.template
152input = etc/debug.ini.in
153output = ${buildout:parts-directory}/etc/debug.ini
154
155[profile_ini]
156recipe = collective.recipe.template
157input = etc/profile.ini.in
158output = ${buildout:parts-directory}/etc/profile.ini
159
160[eggbasket]
161recipe = z3c.recipe.eggbasket
162eggs = grok
163url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
164
165[waeupdocs]
166recipe = collective.recipe.sphinxbuilder
167eggs = waeup.kofa[docs]
168source = ${buildout:directory}/docs/source
169build = ${buildout:directory}/docs/build
170
171# Collect test coverage data.
172[coverage-detect]
173recipe = zc.recipe.testrunner
174eggs = waeup.kofa[beaker]
175defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
176
177# Create a coverage report.
178# Make sure to run bin/coverage-detect to collect the data for the report
179# first!
180[coverage-report]
181recipe = zc.recipe.egg
182eggs = z3c.coverage
183scripts = coveragereport
184arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.