source: main/kofacustom.ekodisco/branches/0.1/buildout.cfg @ 12784

Last change on this file since 12784 was 11329, checked in by uli, 11 years ago

Make ZEO config work again.

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