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

Last change on this file since 10792 was 10140, checked in by Henrik Bettermann, 12 years ago

Upgrade bootstrap.

File size: 5.1 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
20    deploy_ini
21    debug_ini
[8035]22    profile_ini
[5495]23    waeupdocs
24    coverage-detect
25    coverage-report
[7825]26# kofactl creation must be _after_ app!
27    kofactl
[5495]28# For backward compatibility, telling buildout not to throw away
29# the data and log subdirectories from the parts directory.
30    data
31    log
[5660]32# newest = false
[5495]33
[8360]34extends = versions.cfg
[10140]35show-picked-versions = true
36update-versions-file = versions.cfg
[8360]37
[5495]38# eggs will be installed in the default buildout location
39# (see .buildout/default.cfg in your home directory)
40# unless you specify an eggs-directory option here.
41
[8898]42[sources]
43waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
44kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
45
[8772]46[kofa_params]
47## Basic parameters for deployment.
48# default is 127.0.0.1
49host = 0.0.0.0
50# default is 8080
51base_port = 7031
52zeo1_port = 7031
53zeo2_port = 7032
54zeo3_port = 7033
55server_port = 7030
56# default 7. Number of pre-opened ZODB threads/client
57pool_size = 7
58# default 20MB. Cache size of each client (ZEO only)
59client_cache = 20MB
60# default 5000. Number of objects cached.
61object_cache = 5000
62# number of preopened paster threads, default 10
63threadpool_workers = 10
64
[3516]65[app]
[7825]66# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]67recipe = zc.recipe.egg
[8460]68eggs = waeup.fceokene [beaker]
[5495]69       z3c.evalexception>=2.0
70       Paste
71       PasteScript
72       PasteDeploy
[8035]73       repoze.profile
74       ZODB3
[8898]75interpreter = python-console
[3516]76
[7825]77[kofactl]
[5503]78# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7825]79# Here we create the kofactl script again, this time with a
[5503]80# fixed path to zdaemon.conf as argument.
81recipe = zc.recipe.egg
[8460]82eggs = waeup.fceokene [beaker]
[5503]83arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7825]84scripts = kofactl=kofactl
[5503]85
[5495]86[mkdirs]
87recipe = z3c.recipe.mkdir
88paths =
89    ${zope_conf:filestorage}
90    ${zope_conf:logfiles}
91    ${zope_conf:blobstorage}
[7587]92    ${buildout:directory}/var/datacenter/media
93    ${buildout:directory}/parts/test/datacenter
[4789]94
[5495]95[test]
96recipe = zc.recipe.testrunner
[8460]97eggs = waeup.fceokene [beaker, test]
[5495]98defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]99
[7695]100# This section named so that the i18n scripts are called bin/i18n...
[5495]101[i18n]
102recipe = z3c.recipe.i18n:i18n
[8460]103packages = waeup.fceokene
104eggs = waeup.fceokene
105domain = waeup.fceokene
106output = src/waeup/fceokene/locales
[5495]107zcml =
[4789]108
[5495]109# This section is named so that the zpasswd utility is
110# called `zpasswd`
111[zpasswd]
112recipe = z3c.recipe.dev:script
[8460]113eggs = waeup.fceokene
[5495]114module = zope.app.server.zpasswd
115method = main
[3516]116
[5495]117[zope_conf]
118recipe = collective.recipe.template
119input = etc/zope.conf.in
120output = ${buildout:parts-directory}/etc/zope.conf
121filestorage = ${buildout:directory}/var/filestorage
122blobstorage = ${buildout:directory}/var/blobstorage
123logfiles = ${buildout:directory}/var/log
124extra =
125# extra = <grokwarnings>True</grokwarnings>
126# 'extra' is copied verbatim. Use it for product config sections and so.
127
128# The [data] and [log] parts are still in here to instruct buildout to not
129# unintentionally throw away the parts/data and parts/log subdirectories
130# that contain the Data.fs and the log files. These files should be
131# copied to the new locations. See the upgrade notes for more information.
[3516]132[data]
133recipe = zc.recipe.filestorage
134
[5495]135[log]
136recipe = zc.recipe.filestorage
[3516]137
[5495]138[site_zcml]
139recipe = collective.recipe.template
140input = etc/site.zcml.in
141output = ${buildout:parts-directory}/etc/site.zcml
[3516]142
[5495]143[zdaemon_conf]
144recipe = collective.recipe.template
145input = etc/zdaemon.conf.in
146output = ${buildout:parts-directory}/etc/zdaemon.conf
147
148[deploy_ini]
149recipe = collective.recipe.template
150input = etc/deploy.ini.in
151output = ${buildout:parts-directory}/etc/deploy.ini
152
153[debug_ini]
154recipe = collective.recipe.template
155input = etc/debug.ini.in
156output = ${buildout:parts-directory}/etc/debug.ini
157
[8035]158[profile_ini]
159recipe = collective.recipe.template
160input = etc/profile.ini.in
161output = ${buildout:parts-directory}/etc/profile.ini
162
[5495]163[eggbasket]
164recipe = z3c.recipe.eggbasket
165eggs = grok
166url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
167
168[waeupdocs]
169recipe = collective.recipe.sphinxbuilder
[8460]170eggs = waeup.fceokene[docs]
[5495]171source = ${buildout:directory}/docs/source
172build = ${buildout:directory}/docs/build
173
[4789]174# Collect test coverage data.
175[coverage-detect]
176recipe = zc.recipe.testrunner
[8460]177eggs = waeup.fceokene[beaker]
[4789]178defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
179
180# Create a coverage report.
181# Make sure to run bin/coverage-detect to collect the data for the report
182# first!
183[coverage-report]
184recipe = zc.recipe.egg
185eggs = z3c.coverage
[5226]186scripts = coveragereport
[6398]187arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.