source: main/kofacustom.wdu/trunk/buildout.cfg @ 15362

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

Repace skeleton by wdu.

Set ports.

Set version number.

Set manager password.

File size: 5.5 KB
RevLine 
[10765]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
[11272]20    raw_deploy_ini
21    raw_debug_ini
22    themed_deploy_ini
23    themed_debug_ini
[10765]24    profile_ini
25    coverage-detect
26    coverage-report
27# kofactl creation must be _after_ app!
28    kofactl
[11272]29    lxml
30    diazo
[10765]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]
[11518]46waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
47kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
[10765]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
[11940]54base_port = 7111
55zeo1_port = 7111
56zeo2_port = 7112
57# zeo3_port = 7113
58server_port = 7110
[10765]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
[11940]67devel_pkg = kofacustom.wdu
[10765]68
69[app]
70# This creates all scripts in bin/. The kofactl created here is 'faulty'.
71recipe = zc.recipe.egg
[11940]72eggs = kofacustom.wdu [beaker, diazo]
[10765]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
[11940]86eggs = kofacustom.wdu [beaker, diazo]
[10765]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
[11940]101eggs = kofacustom.wdu [beaker, test]
[10765]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
[11940]107packages = kofacustom.wdu
108eggs = kofacustom.wdu
109domain = kofacustom.wdu
110output = src/kofacustom/wdu/locales
[10765]111zcml =
112
113# This section is named so that the zpasswd utility is
114# called `zpasswd`
115[zpasswd]
116recipe = z3c.recipe.dev:script
[11940]117eggs = kofacustom.wdu
[10765]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
[11272]152[raw_debug_ini]
[10765]153recipe = collective.recipe.template
[11272]154input = etc/raw/debug.ini.in
155output = ${buildout:parts-directory}/etc/raw-debug.ini
[10765]156
[11272]157[raw_deploy_ini]
[10765]158recipe = collective.recipe.template
[11272]159input = etc/raw/deploy.ini.in
160output = ${buildout:parts-directory}/etc/raw-deploy.ini
[10765]161
[11272]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
[10765]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
[11940]185eggs = kofacustom.wdu[beaker]
[10765]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')
[11272]196
197[lxml]
198recipe = z3c.recipe.staticlxml
199egg = lxml
200
201[diazo]
202recipe = zc.recipe.egg
203eggs =
204    diazo [wsgi]
205    PasteScript
[11940]206    kofacustom.wdu [beaker, diazo]
Note: See TracBrowser for help on using the repository browser.