source: main/waeup.uniben/trunk/buildout.cfg @ 15185

Last change on this file since 15185 was 13190, checked in by uli, 9 years ago

Add script for exports (sketches).

File size: 5.5 KB
RevLine 
[3516]1[buildout]
[8893]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
[11315]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
[11315]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
[10137]38show-picked-versions = true
39update-versions-file = versions.cfg
[8360]40
[5495]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
[8893]45[sources]
[11519]46waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
47kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
[8893]48
[8770]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 = 7011
55zeo1_port = 7011
56zeo2_port = 7012
57zeo3_port = 7013
58server_port = 7010
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
[11315]67devel_pkg = waeup.uniben
[8770]68
[3516]69[app]
[7825]70# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]71recipe = zc.recipe.egg
[11315]72eggs = waeup.uniben [beaker, diazo]
[5495]73       z3c.evalexception>=2.0
74       Paste
75       PasteScript
76       PasteDeploy
[8035]77       repoze.profile
78       ZODB3
[8699]79interpreter = python-console
[3516]80
[7825]81[kofactl]
[5503]82# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7825]83# Here we create the kofactl script again, this time with a
[5503]84# fixed path to zdaemon.conf as argument.
85recipe = zc.recipe.egg
[11315]86eggs = waeup.uniben [beaker, diazo]
[5503]87arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7825]88scripts = kofactl=kofactl
[13190]89          kofaexport=kofaexport
[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
[8020]102eggs = waeup.uniben [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
[8020]108packages = waeup.uniben
109eggs = waeup.uniben
110domain = waeup.uniben
111output = src/waeup/uniben/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
[8020]118eggs = waeup.uniben
[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
[11315]153[raw_debug_ini]
[5495]154recipe = collective.recipe.template
[11315]155input = etc/raw/debug.ini.in
156output = ${buildout:parts-directory}/etc/raw-debug.ini
[5495]157
[11315]158[raw_deploy_ini]
[5495]159recipe = collective.recipe.template
[11315]160input = etc/raw/deploy.ini.in
161output = ${buildout:parts-directory}/etc/raw-deploy.ini
[5495]162
[11315]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
[5495]178[eggbasket]
179recipe = z3c.recipe.eggbasket
180eggs = grok
181url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
182
[4789]183# Collect test coverage data.
184[coverage-detect]
185recipe = zc.recipe.testrunner
[8020]186eggs = waeup.uniben[beaker]
[4789]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
[5226]195scripts = coveragereport
[6398]196arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
[11315]197
198[lxml]
199recipe = z3c.recipe.staticlxml
200egg = lxml
201
202[diazo]
203recipe = zc.recipe.egg
204eggs =
205    diazo [wsgi]
206    PasteScript
207    waeup.uniben [beaker, diazo]
Note: See TracBrowser for help on using the repository browser.