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

Last change on this file since 11463 was 11254, checked in by uli, 11 years ago

Merge changes from uli-diazo-themed back into trunk. If this works, then a miracle happened.

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