source: main/kofacustom.sampleuni/trunk/buildout.cfg @ 11687

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

Remove dependencies on kofacustom.nigeria.

File size: 5.5 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 = 8080
55
56zeo1_port = 8011
57zeo2_port = 8012
58# zeo3_port = 8013
59server_port = 8010
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 = kofacustom.sampleuni
69
70[app]
71# This creates all scripts in bin/. The kofactl created here is 'faulty'.
72recipe = zc.recipe.egg
73eggs = kofacustom.sampleuni [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 = kofacustom.sampleuni [beaker, diazo]
88arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
89scripts = kofactl=kofactl
90
91[mkdirs]
92recipe = z3c.recipe.mkdir
93paths =
94    ${zope_conf:filestorage}
95    ${zope_conf:logfiles}
96    ${zope_conf:blobstorage}
97    ${buildout:directory}/var/datacenter/media
98    ${buildout:directory}/parts/test/datacenter
99
100[test]
101recipe = zc.recipe.testrunner
102eggs = kofacustom.sampleuni [beaker, test]
103defaults = ['--tests-pattern', '^f?tests$', '-v']
104
105# This section named so that the i18n scripts are called bin/i18n...
106[i18n]
107recipe = z3c.recipe.i18n:i18n
108packages = kofacustom.sampleuni
109eggs = kofacustom.sampleuni
110domain = kofacustom.sampleuni
111output = src/kofacustom/sampleuni/locales
112zcml =
113
114# This section is named so that the zpasswd utility is
115# called `zpasswd`
116[zpasswd]
117recipe = z3c.recipe.dev:script
118eggs = kofacustom.sampleuni
119module = zope.app.server.zpasswd
120method = main
121
122[zope_conf]
123recipe = collective.recipe.template
124input = etc/zope.conf.in
125output = ${buildout:parts-directory}/etc/zope.conf
126filestorage = ${buildout:directory}/var/filestorage
127blobstorage = ${buildout:directory}/var/blobstorage
128logfiles = ${buildout:directory}/var/log
129extra =
130# extra = <grokwarnings>True</grokwarnings>
131# 'extra' is copied verbatim. Use it for product config sections and so.
132
133# The [data] and [log] parts are still in here to instruct buildout to not
134# unintentionally throw away the parts/data and parts/log subdirectories
135# that contain the Data.fs and the log files. These files should be
136# copied to the new locations. See the upgrade notes for more information.
137[data]
138recipe = zc.recipe.filestorage
139
140[log]
141recipe = zc.recipe.filestorage
142
143[site_zcml]
144recipe = collective.recipe.template
145input = etc/site.zcml.in
146output = ${buildout:parts-directory}/etc/site.zcml
147
148[zdaemon_conf]
149recipe = collective.recipe.template
150input = etc/zdaemon.conf.in
151output = ${buildout:parts-directory}/etc/zdaemon.conf
152
153[raw_debug_ini]
154recipe = collective.recipe.template
155input = etc/raw/debug.ini.in
156output = ${buildout:parts-directory}/etc/raw-debug.ini
157
158[raw_deploy_ini]
159recipe = collective.recipe.template
160input = etc/raw/deploy.ini.in
161output = ${buildout:parts-directory}/etc/raw-deploy.ini
162
163[themed_debug_ini]
164recipe = collective.recipe.template
165input = etc/themed/debug.ini.in
166output = ${buildout:parts-directory}/etc/themed-debug.ini
167
168[themed_deploy_ini]
169recipe = collective.recipe.template
170input = etc/themed/deploy.ini.in
171output = ${buildout:parts-directory}/etc/themed-deploy.ini
172
173[profile_ini]
174recipe = collective.recipe.template
175input = etc/profile.ini.in
176output = ${buildout:parts-directory}/etc/profile.ini
177
178[eggbasket]
179recipe = z3c.recipe.eggbasket
180eggs = grok
181url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
182
183# Collect test coverage data.
184[coverage-detect]
185recipe = zc.recipe.testrunner
186eggs = kofacustom.sampleuni[beaker]
187defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
188
189# Create a coverage report.
190# Make sure to run bin/coverage-detect to collect the data for the report
191# first!
192[coverage-report]
193recipe = zc.recipe.egg
194eggs = z3c.coverage
195scripts = coveragereport
196arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
197
198[lxml]
199recipe = z3c.recipe.staticlxml
200egg = lxml
201
202[diazo]
203recipe = zc.recipe.egg
204eggs =
205    diazo [wsgi]
206    PasteScript
207    kofacustom.sampleuni [beaker, diazo]
Note: See TracBrowser for help on using the repository browser.