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

Last change on this file since 9640 was 8796, checked in by uli, 12 years ago

Make main package exchangeable in etc/ files.

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