source: main/waeup.kofa/trunk/buildout.cfg @ 10974

Last change on this file since 10974 was 10110, checked in by uli, 12 years ago

Enable automatic pinning of package versions and pin versions of packages that weren't pinned yet.

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