source: main/waeup.skeleton/branches/uli-diazo-themed/buildout.cfg @ 11082

Last change on this file since 11082 was 11075, checked in by uli, 11 years ago

Plain transform of w.k. changes. Not the final one.

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