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

Last change on this file since 17832 was 17322, checked in by Henrik Bettermann, 22 months 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
40# eggs will be installed in the default buildout location
41# (see .buildout/default.cfg in your home directory)
42# unless you specify an eggs-directory option here.
43
44[sources]
45waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
46kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
47
48[kofa_params]
49## Basic parameters for deployment.
50# default is 127.0.0.1
51host = 0.0.0.0
52base_port = 7211
53zeo1_port = 7211
54zeo2_port = 7212
55server_port = 7210
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
64devel_pkg = kofacustom.unidel
65
66[app]
67# This creates all scripts in bin/. The kofactl created here is 'faulty'.
68recipe = zc.recipe.egg
69eggs = kofacustom.unidel [beaker, diazo]
70       z3c.evalexception>=2.0
71       Paste
72       PasteScript
73       PasteDeploy
74       repoze.profile
75       ZODB3
76interpreter = python-console
77
78[kofactl]
79# See http://pypi.python.org/pypi/zc.recipe.egg for details...
80# Here we create the kofactl script again, this time with a
81# fixed path to zdaemon.conf as argument.
82recipe = zc.recipe.egg
83eggs = kofacustom.unidel [beaker, diazo]
84arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
85scripts = kofactl=kofactl
86
87[mkdirs]
88recipe = z3c.recipe.mkdir
89paths =
90    ${zope_conf:filestorage}
91    ${zope_conf:logfiles}
92    ${zope_conf:blobstorage}
93    ${buildout:directory}/var/datacenter/media
94    ${buildout:directory}/parts/test/datacenter
95
96[test]
97recipe = zc.recipe.testrunner
98eggs = kofacustom.unidel [beaker, test]
99defaults = ['--tests-pattern', '^f?tests$', '-v']
100
101# This section named so that the i18n scripts are called bin/i18n...
102[i18n]
103recipe = z3c.recipe.i18n:i18n
104packages = kofacustom.unidel
105eggs = kofacustom.unidel
106domain = kofacustom.unidel
107output = src/kofacustom/unidel/locales
108zcml =
109
110# This section is named so that the zpasswd utility is
111# called `zpasswd`
112[zpasswd]
113recipe = z3c.recipe.dev:script
114eggs = kofacustom.unidel
115module = zope.app.server.zpasswd
116method = main
117
118[zope_conf]
119recipe = collective.recipe.template
120input = etc/zope.conf.in
121output = ${buildout:parts-directory}/etc/zope.conf
122filestorage = ${buildout:directory}/var/filestorage
123blobstorage = ${buildout:directory}/var/blobstorage
124logfiles = ${buildout:directory}/var/log
125extra =
126# extra = <grokwarnings>True</grokwarnings>
127# 'extra' is copied verbatim. Use it for product config sections and so.
128
129# The [data] and [log] parts are still in here to instruct buildout to not
130# unintentionally throw away the parts/data and parts/log subdirectories
131# that contain the Data.fs and the log files. These files should be
132# copied to the new locations. See the upgrade notes for more information.
133[data]
134recipe = zc.recipe.filestorage
135
136[log]
137recipe = zc.recipe.filestorage
138
139[site_zcml]
140recipe = collective.recipe.template
141input = etc/site.zcml.in
142output = ${buildout:parts-directory}/etc/site.zcml
143
144[zdaemon_conf]
145recipe = collective.recipe.template
146input = etc/zdaemon.conf.in
147output = ${buildout:parts-directory}/etc/zdaemon.conf
148
149[raw_debug_ini]
150recipe = collective.recipe.template
151input = etc/raw/debug.ini.in
152output = ${buildout:parts-directory}/etc/raw-debug.ini
153
154[raw_deploy_ini]
155recipe = collective.recipe.template
156input = etc/raw/deploy.ini.in
157output = ${buildout:parts-directory}/etc/raw-deploy.ini
158
159[themed_debug_ini]
160recipe = collective.recipe.template
161input = etc/themed/debug.ini.in
162output = ${buildout:parts-directory}/etc/themed-debug.ini
163
164[themed_deploy_ini]
165recipe = collective.recipe.template
166input = etc/themed/deploy.ini.in
167output = ${buildout:parts-directory}/etc/themed-deploy.ini
168
169[profile_ini]
170recipe = collective.recipe.template
171input = etc/profile.ini.in
172output = ${buildout:parts-directory}/etc/profile.ini
173
174# Collect test coverage data.
175[coverage-detect]
176recipe = zc.recipe.testrunner
177eggs = kofacustom.unidel[beaker]
178defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
179
180# Create a coverage report.
181# Make sure to run bin/coverage-detect to collect the data for the report
182# first!
183[coverage-report]
184recipe = zc.recipe.egg
185eggs = z3c.coverage
186scripts = coveragereport
187arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
188
189[lxml]
190recipe = z3c.recipe.staticlxml
191egg = lxml
192
193[diazo]
194recipe = zc.recipe.egg
195eggs =
196    diazo [wsgi]
197    PasteScript
198    kofacustom.unidel [beaker, diazo]
Note: See TracBrowser for help on using the repository browser.