source: main/waeup.uniben/trunk/buildout.cfg @ 17596

Last change on this file since 17596 was 17315, checked in by Henrik Bettermann, 2 years ago

Adjust to base package

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