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

Last change on this file since 17847 was 17819, checked in by uli, 3 months ago

Fix outdated module.

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