source: main/waeup.kofa/branches/uli-diazo-themed/buildout.cfg @ 11072

Last change on this file since 11072 was 11047, checked in by uli, 11 years ago

buildout.cfg should have all tweaks from buildout-diazo.cfg now.

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