source: main/waeup.futminna/trunk/buildout.cfg @ 12799

Last change on this file since 12799 was 11489, checked in by Henrik Bettermann, 11 years ago

Prepare final release.

File size: 5.5 KB
RevLine 
[3516]1[buildout]
[8895]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
[11398]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
[11398]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
[10141]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
[8895]45[sources]
[11489]46waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/tags/1.1
47kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/tags/1.0
[8895]48
[8773]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 = 7041
55zeo1_port = 7041
56zeo2_port = 7042
57zeo3_port = 7043
58server_port = 7040
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
[11398]67devel_pkg = waeup.futminna
[8773]68
[3516]69[app]
[7825]70# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]71recipe = zc.recipe.egg
[11398]72eggs = waeup.futminna [beaker, diazo]
[5495]73       z3c.evalexception>=2.0
74       Paste
75       PasteScript
76       PasteDeploy
[8035]77       repoze.profile
78       ZODB3
[8895]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
[11398]86eggs = waeup.futminna [beaker, diazo]
[5503]87arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7825]88scripts = kofactl=kofactl
[5503]89
[5495]90[mkdirs]
91recipe = z3c.recipe.mkdir
92paths =
93    ${zope_conf:filestorage}
94    ${zope_conf:logfiles}
95    ${zope_conf:blobstorage}
[7587]96    ${buildout:directory}/var/datacenter/media
97    ${buildout:directory}/parts/test/datacenter
[4789]98
[5495]99[test]
100recipe = zc.recipe.testrunner
[8620]101eggs = waeup.futminna [beaker, test]
[5495]102defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]103
[7695]104# This section named so that the i18n scripts are called bin/i18n...
[5495]105[i18n]
106recipe = z3c.recipe.i18n:i18n
[8620]107packages = waeup.futminna
108eggs = waeup.futminna
109domain = waeup.futminna
110output = src/waeup/futminna/locales
[5495]111zcml =
[4789]112
[5495]113# This section is named so that the zpasswd utility is
114# called `zpasswd`
115[zpasswd]
116recipe = z3c.recipe.dev:script
[8620]117eggs = waeup.futminna
[5495]118module = zope.app.server.zpasswd
119method = main
[3516]120
[5495]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.
[3516]136[data]
137recipe = zc.recipe.filestorage
138
[5495]139[log]
140recipe = zc.recipe.filestorage
[3516]141
[5495]142[site_zcml]
143recipe = collective.recipe.template
144input = etc/site.zcml.in
145output = ${buildout:parts-directory}/etc/site.zcml
[3516]146
[5495]147[zdaemon_conf]
148recipe = collective.recipe.template
149input = etc/zdaemon.conf.in
150output = ${buildout:parts-directory}/etc/zdaemon.conf
151
[11398]152[raw_debug_ini]
[5495]153recipe = collective.recipe.template
[11398]154input = etc/raw/debug.ini.in
155output = ${buildout:parts-directory}/etc/raw-debug.ini
[5495]156
[11398]157[raw_deploy_ini]
[5495]158recipe = collective.recipe.template
[11398]159input = etc/raw/deploy.ini.in
160output = ${buildout:parts-directory}/etc/raw-deploy.ini
[5495]161
[11398]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
[8035]172[profile_ini]
173recipe = collective.recipe.template
174input = etc/profile.ini.in
175output = ${buildout:parts-directory}/etc/profile.ini
176
[5495]177[eggbasket]
178recipe = z3c.recipe.eggbasket
179eggs = grok
180url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
181
[4789]182# Collect test coverage data.
183[coverage-detect]
184recipe = zc.recipe.testrunner
[8620]185eggs = waeup.futminna[beaker]
[4789]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
[5226]194scripts = coveragereport
[6398]195arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
[11398]196
197[lxml]
198recipe = z3c.recipe.staticlxml
199egg = lxml
200
201[diazo]
202recipe = zc.recipe.egg
203eggs =
204    diazo [wsgi]
205    PasteScript
206    waeup.futminna [beaker, diazo]
Note: See TracBrowser for help on using the repository browser.