source: main/waeup.fceokene/trunk/buildout.cfg @ 16931

Last change on this file since 16931 was 15851, checked in by Henrik Bettermann, 5 years ago

Remove XMLRPC test user.

File size: 5.5 KB
RevLine 
[3516]1[buildout]
[8898]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 = .
[5495]10parts =
11    eggbasket
12    app
13    i18n
14    test
15    mkdirs
16    zpasswd
17    zope_conf
18    site_zcml
19    zdaemon_conf
[11297]20    raw_deploy_ini
21    raw_debug_ini
22    themed_deploy_ini
23    themed_debug_ini
[8035]24    profile_ini
[5495]25    coverage-detect
26    coverage-report
[7825]27# kofactl creation must be _after_ app!
28    kofactl
[11297]29    lxml
30    diazo
[5495]31# For backward compatibility, telling buildout not to throw away
32# the data and log subdirectories from the parts directory.
33    data
34    log
[5660]35# newest = false
[5495]36
[8360]37extends = versions.cfg
[10140]38show-picked-versions = true
39update-versions-file = versions.cfg
[8360]40
[15851]41index = https://pypi.python.org/simple/
42
[5495]43# eggs will be installed in the default buildout location
44# (see .buildout/default.cfg in your home directory)
45# unless you specify an eggs-directory option here.
46
[8898]47[sources]
[11516]48waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
49kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
[8898]50
[8772]51[kofa_params]
52## Basic parameters for deployment.
53# default is 127.0.0.1
54host = 0.0.0.0
55# default is 8080
56base_port = 7031
57zeo1_port = 7031
58zeo2_port = 7032
[11297]59# zeo3_port = 7033
[8772]60server_port = 7030
61# default 7. Number of pre-opened ZODB threads/client
62pool_size = 7
63# default 20MB. Cache size of each client (ZEO only)
64client_cache = 20MB
65# default 5000. Number of objects cached.
66object_cache = 5000
67# number of preopened paster threads, default 10
68threadpool_workers = 10
[11297]69devel_pkg = waeup.fceokene
[8772]70
[3516]71[app]
[7825]72# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]73recipe = zc.recipe.egg
[11297]74eggs = waeup.fceokene [beaker, diazo]
[5495]75       z3c.evalexception>=2.0
76       Paste
77       PasteScript
78       PasteDeploy
[8035]79       repoze.profile
80       ZODB3
[8898]81interpreter = python-console
[3516]82
[7825]83[kofactl]
[5503]84# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7825]85# Here we create the kofactl script again, this time with a
[5503]86# fixed path to zdaemon.conf as argument.
87recipe = zc.recipe.egg
[11297]88eggs = waeup.fceokene [beaker, diazo]
[5503]89arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7825]90scripts = kofactl=kofactl
[5503]91
[5495]92[mkdirs]
93recipe = z3c.recipe.mkdir
94paths =
95    ${zope_conf:filestorage}
96    ${zope_conf:logfiles}
97    ${zope_conf:blobstorage}
[7587]98    ${buildout:directory}/var/datacenter/media
99    ${buildout:directory}/parts/test/datacenter
[4789]100
[5495]101[test]
102recipe = zc.recipe.testrunner
[8460]103eggs = waeup.fceokene [beaker, test]
[5495]104defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]105
[7695]106# This section named so that the i18n scripts are called bin/i18n...
[5495]107[i18n]
108recipe = z3c.recipe.i18n:i18n
[8460]109packages = waeup.fceokene
110eggs = waeup.fceokene
111domain = waeup.fceokene
112output = src/waeup/fceokene/locales
[5495]113zcml =
[4789]114
[5495]115# This section is named so that the zpasswd utility is
116# called `zpasswd`
117[zpasswd]
118recipe = z3c.recipe.dev:script
[8460]119eggs = waeup.fceokene
[5495]120module = zope.app.server.zpasswd
121method = main
[3516]122
[5495]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.
[3516]138[data]
139recipe = zc.recipe.filestorage
140
[5495]141[log]
142recipe = zc.recipe.filestorage
[3516]143
[5495]144[site_zcml]
145recipe = collective.recipe.template
146input = etc/site.zcml.in
147output = ${buildout:parts-directory}/etc/site.zcml
[3516]148
[5495]149[zdaemon_conf]
150recipe = collective.recipe.template
151input = etc/zdaemon.conf.in
152output = ${buildout:parts-directory}/etc/zdaemon.conf
153
[11297]154[raw_debug_ini]
[5495]155recipe = collective.recipe.template
[11297]156input = etc/raw/debug.ini.in
157output = ${buildout:parts-directory}/etc/raw-debug.ini
[5495]158
[11297]159[raw_deploy_ini]
[5495]160recipe = collective.recipe.template
[11297]161input = etc/raw/deploy.ini.in
162output = ${buildout:parts-directory}/etc/raw-deploy.ini
[5495]163
[11297]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
[8035]174[profile_ini]
175recipe = collective.recipe.template
176input = etc/profile.ini.in
177output = ${buildout:parts-directory}/etc/profile.ini
178
[5495]179[eggbasket]
180recipe = z3c.recipe.eggbasket
181eggs = grok
182url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
183
[4789]184# Collect test coverage data.
185[coverage-detect]
186recipe = zc.recipe.testrunner
[8460]187eggs = waeup.fceokene[beaker]
[4789]188defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
189
190# Create a coverage report.
191# Make sure to run bin/coverage-detect to collect the data for the report
192# first!
193[coverage-report]
194recipe = zc.recipe.egg
195eggs = z3c.coverage
[5226]196scripts = coveragereport
[6398]197arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
[11297]198
199[lxml]
200recipe = z3c.recipe.staticlxml
201egg = lxml
202
203[diazo]
204recipe = zc.recipe.egg
205eggs =
206    diazo [wsgi]
207    PasteScript
208    waeup.fceokene [beaker, diazo]
Note: See TracBrowser for help on using the repository browser.