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

Last change on this file since 11047 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
Line 
1[buildout]
2develop = .
3parts =
4    eggbasket
5    app
6    i18n
7    test
8    mkdirs
9    zpasswd
10    zope_conf
11    site_zcml
12    zdaemon_conf
13    raw_deploy_ini
14    raw_debug_ini
15    themed_deploy_ini
16    themed_debug_ini
17    profile_ini
18    waeupdocs
19    coverage-detect
20    coverage-report
21# kofactl creation must be _after_ app!
22    kofactl
23    lxml
24    diazo
25# For backward compatibility, telling buildout not to throw away
26# the data and log subdirectories from the parts directory.
27    data
28    log
29# newest = false
30
31extends =
32     http://good-py.appspot.com/release/diazo/1.0
33     versions.cfg
34show-picked-versions = true
35update-versions-file = versions.cfg
36
37
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
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
60# package to be developed
61devel_pkg = waeup.kofa
62
63[app]
64# This creates all scripts in bin/. The kofactl created here is 'faulty'.
65recipe = zc.recipe.egg
66eggs = waeup.kofa [beaker, diazo]
67       z3c.evalexception>=2.0
68       Paste
69       PasteScript
70       PasteDeploy
71       repoze.profile
72       ZODB3
73interpreter = python-console
74
75[kofactl]
76# See http://pypi.python.org/pypi/zc.recipe.egg for details...
77# Here we create the kofactl script again, this time with a
78# fixed path to zdaemon.conf as argument.
79recipe = zc.recipe.egg
80eggs = waeup.kofa [beaker, diazo]
81arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
82scripts = kofactl=kofactl
83
84[mkdirs]
85recipe = z3c.recipe.mkdir
86paths =
87    ${zope_conf:filestorage}
88    ${zope_conf:logfiles}
89    ${zope_conf:blobstorage}
90    ${buildout:directory}/var/mailqueue/cur
91    ${buildout:directory}/var/mailqueue/tmp
92    ${buildout:directory}/var/mailqueue/new
93    ${buildout:directory}/var/datacenter/media
94    ${buildout:directory}/parts/test/datacenter
95
96[test]
97recipe = zc.recipe.testrunner
98eggs = waeup.kofa [beaker, test]
99defaults = ['--tests-pattern', '^f?tests$', '-v']
100
101# this section named so that the i18n scripts are called bin/i18n...
102[i18n]
103recipe = z3c.recipe.i18n:i18n
104packages = waeup.kofa
105eggs = waeup.kofa
106domain = waeup.kofa
107output = src/waeup/kofa/locales
108zcml =
109
110# This section is named so that the zpasswd utility is
111# called `zpasswd`
112[zpasswd]
113recipe = z3c.recipe.dev:script
114eggs = waeup.kofa
115module = zope.app.server.zpasswd
116method = main
117
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.
133[data]
134recipe = zc.recipe.filestorage
135
136[log]
137recipe = zc.recipe.filestorage
138
139[mailqueue]
140recipe = zc.recipe.filestorage
141
142[site_zcml]
143recipe = collective.recipe.template
144input = etc/site.zcml.in
145output = ${buildout:parts-directory}/etc/site.zcml
146
147[zdaemon_conf]
148recipe = collective.recipe.template
149input = etc/zdaemon.conf.in
150output = ${buildout:parts-directory}/etc/zdaemon.conf
151
152[raw_debug_ini]
153recipe = collective.recipe.template
154input = etc/raw/debug.ini.in
155output = ${buildout:parts-directory}/etc/raw-debug.ini
156
157[raw_deploy_ini]
158recipe = collective.recipe.template
159input = etc/raw/deploy.ini.in
160output = ${buildout:parts-directory}/etc/raw-deploy.ini
161
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
172[profile_ini]
173recipe = collective.recipe.template
174input = etc/profile.ini.in
175output = ${buildout:parts-directory}/etc/profile.ini
176
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
184eggs = waeup.kofa[docs]
185source = ${buildout:directory}/docs/source
186build = ${buildout:directory}/docs/build
187
188# Collect test coverage data.
189[coverage-detect]
190recipe = zc.recipe.testrunner
191eggs = waeup.kofa[beaker]
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
200scripts = coveragereport
201arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
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.