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

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

Adjust to base package.

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