source: main/kofacustom.unidel/trunk/buildout.cfg @ 17102

Last change on this file since 17102 was 16721, checked in by Henrik Bettermann, 3 years ago

Start customization.

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    raw_deploy_ini
21    raw_debug_ini
22    themed_deploy_ini
23    themed_debug_ini
24    profile_ini
25    coverage-detect
26    coverage-report
27# kofactl creation must be _after_ app!
28    kofactl
29    lxml
30    diazo
31# For backward compatibility, telling buildout not to throw away
32# the data and log subdirectories from the parts directory.
33    data
34    log
35# newest = false
36
37extends = versions.cfg
38show-picked-versions = true
39update-versions-file = versions.cfg
40
41# eggs will be installed in the default buildout location
42# (see .buildout/default.cfg in your home directory)
43# unless you specify an eggs-directory option here.
44
45[sources]
46waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
47kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
48
49[kofa_params]
50## Basic parameters for deployment.
51# default is 127.0.0.1
52host = 0.0.0.0
53base_port = 7211
54zeo1_port = 7211
55zeo2_port = 7212
56server_port = 7210
57# default 7. Number of pre-opened ZODB threads/client
58pool_size = 7
59# default 20MB. Cache size of each client (ZEO only)
60client_cache = 20MB
61# default 5000. Number of objects cached.
62object_cache = 5000
63# number of preopened paster threads, default 10
64threadpool_workers = 10
65devel_pkg = kofacustom.unidel
66
67[app]
68# This creates all scripts in bin/. The kofactl created here is 'faulty'.
69recipe = zc.recipe.egg
70eggs = kofacustom.unidel [beaker, diazo]
71       z3c.evalexception>=2.0
72       Paste
73       PasteScript
74       PasteDeploy
75       repoze.profile
76       ZODB3
77interpreter = python-console
78
79[kofactl]
80# See http://pypi.python.org/pypi/zc.recipe.egg for details...
81# Here we create the kofactl script again, this time with a
82# fixed path to zdaemon.conf as argument.
83recipe = zc.recipe.egg
84eggs = kofacustom.unidel [beaker, diazo]
85arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
86scripts = kofactl=kofactl
87
88[mkdirs]
89recipe = z3c.recipe.mkdir
90paths =
91    ${zope_conf:filestorage}
92    ${zope_conf:logfiles}
93    ${zope_conf:blobstorage}
94    ${buildout:directory}/var/datacenter/media
95    ${buildout:directory}/parts/test/datacenter
96
97[test]
98recipe = zc.recipe.testrunner
99eggs = kofacustom.unidel [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 = kofacustom.unidel
106eggs = kofacustom.unidel
107domain = kofacustom.unidel
108output = src/kofacustom/unidel/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 = kofacustom.unidel
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[site_zcml]
141recipe = collective.recipe.template
142input = etc/site.zcml.in
143output = ${buildout:parts-directory}/etc/site.zcml
144
145[zdaemon_conf]
146recipe = collective.recipe.template
147input = etc/zdaemon.conf.in
148output = ${buildout:parts-directory}/etc/zdaemon.conf
149
150[raw_debug_ini]
151recipe = collective.recipe.template
152input = etc/raw/debug.ini.in
153output = ${buildout:parts-directory}/etc/raw-debug.ini
154
155[raw_deploy_ini]
156recipe = collective.recipe.template
157input = etc/raw/deploy.ini.in
158output = ${buildout:parts-directory}/etc/raw-deploy.ini
159
160[themed_debug_ini]
161recipe = collective.recipe.template
162input = etc/themed/debug.ini.in
163output = ${buildout:parts-directory}/etc/themed-debug.ini
164
165[themed_deploy_ini]
166recipe = collective.recipe.template
167input = etc/themed/deploy.ini.in
168output = ${buildout:parts-directory}/etc/themed-deploy.ini
169
170[profile_ini]
171recipe = collective.recipe.template
172input = etc/profile.ini.in
173output = ${buildout:parts-directory}/etc/profile.ini
174
175[eggbasket]
176recipe = z3c.recipe.eggbasket
177eggs = grok
178url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
179
180# Collect test coverage data.
181[coverage-detect]
182recipe = zc.recipe.testrunner
183eggs = kofacustom.unidel[beaker]
184defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
185
186# Create a coverage report.
187# Make sure to run bin/coverage-detect to collect the data for the report
188# first!
189[coverage-report]
190recipe = zc.recipe.egg
191eggs = z3c.coverage
192scripts = coveragereport
193arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
194
195[lxml]
196recipe = z3c.recipe.staticlxml
197egg = lxml
198
199[diazo]
200recipe = zc.recipe.egg
201eggs =
202    diazo [wsgi]
203    PasteScript
204    kofacustom.unidel [beaker, diazo]
Note: See TracBrowser for help on using the repository browser.