source: main/kofacustom.pcn/trunk/buildout.cfg @ 14352

Last change on this file since 14352 was 11893, checked in by Henrik Bettermann, 10 years ago

Use recent version of waeup.kofa in trunk. Do not use waeup.kofa PyPI package.

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