source: main/kofacustom.nigeria/trunk/buildout.cfg @ 8835

Last change on this file since 8835 was 8815, checked in by uli, 13 years ago

Let me introduce mr.developer. With him we can get rid
of svn-externaling waeup.kofa.

File size: 5.0 KB
RevLine 
[8800]1[buildout]
[8815]2# See http://pypi.python.org/pypi/mr.developer for details
3extensions = mr.developer
4# Install waeup.kofa as develop egg
5auto-checkout = waeup.kofa
6develop = .
[8800]7parts =
8    eggbasket
9    app
[8808]10    i18n
[8800]11    test
12    mkdirs
13    zpasswd
14    zope_conf
15    site_zcml
16    zdaemon_conf
17    deploy_ini
18    debug_ini
19    profile_ini
20# waeupdocs
21    coverage-detect
22    coverage-report
23# kofactl creation must be _after_ app!
24    kofactl
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 = versions.cfg
32
33# eggs will be installed in the default buildout location
34# (see .buildout/default.cfg in your home directory)
35# unless you specify an eggs-directory option here.
36
[8815]37[sources]
38waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
39
[8800]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
58devel_pkg = kofacustom.nigeria
59
60[app]
61# This creates all scripts in bin/. The kofactl created here is 'faulty'.
62recipe = zc.recipe.egg
63eggs = kofacustom.nigeria [beaker]
64       z3c.evalexception>=2.0
65       Paste
66       PasteScript
67       PasteDeploy
68       repoze.profile
69       ZODB3
70interpreter = python-console
71
72[kofactl]
73# See http://pypi.python.org/pypi/zc.recipe.egg for details...
74# Here we create the kofactl script again, this time with a
75# fixed path to zdaemon.conf as argument.
76recipe = zc.recipe.egg
77eggs = kofacustom.nigeria [beaker]
78arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
79scripts = kofactl=kofactl
80
81[mkdirs]
82recipe = z3c.recipe.mkdir
83paths =
84    ${zope_conf:filestorage}
85    ${zope_conf:logfiles}
86    ${zope_conf:blobstorage}
87    ${buildout:directory}/var/mailqueue/cur
88    ${buildout:directory}/var/mailqueue/tmp
89    ${buildout:directory}/var/mailqueue/new
90    ${buildout:directory}/var/datacenter/media
91    ${buildout:directory}/parts/test/datacenter
92
93[test]
94recipe = zc.recipe.testrunner
95eggs = kofacustom.nigeria [beaker, test]
96defaults = ['--tests-pattern', '^f?tests$', '-v']
97
98# this section named so that the i18n scripts are called bin/i18n...
99[i18n]
100recipe = z3c.recipe.i18n:i18n
101packages = kofacustom.nigeria
102eggs = kofacustom.nigeria
[8808]103domain = waeup.custom
[8800]104output = src/kofacustom/nigeria/locales
105zcml =
106
107# This section is named so that the zpasswd utility is
108# called `zpasswd`
109[zpasswd]
110recipe = z3c.recipe.dev:script
111eggs = kofacustom.nigeria
112module = zope.app.server.zpasswd
113method = main
114
115[zope_conf]
116recipe = collective.recipe.template
117input = etc/zope.conf.in
118output = ${buildout:parts-directory}/etc/zope.conf
119filestorage = ${buildout:directory}/var/filestorage
120blobstorage = ${buildout:directory}/var/blobstorage
121logfiles = ${buildout:directory}/var/log
122extra =
123# extra = <grokwarnings>True</grokwarnings>
124# 'extra' is copied verbatim. Use it for product config sections and so.
125
126# The [data] and [log] parts are still in here to instruct buildout to not
127# unintentionally throw away the parts/data and parts/log subdirectories
128# that contain the Data.fs and the log files. These files should be
129# copied to the new locations. See the upgrade notes for more information.
130[data]
131recipe = zc.recipe.filestorage
132
133[log]
134recipe = zc.recipe.filestorage
135
136[mailqueue]
137recipe = zc.recipe.filestorage
138
139[site_zcml]
140recipe = collective.recipe.template
141input = etc/site.zcml.in
142output = ${buildout:parts-directory}/etc/site.zcml
143
144[zdaemon_conf]
145recipe = collective.recipe.template
146input = etc/zdaemon.conf.in
147output = ${buildout:parts-directory}/etc/zdaemon.conf
148
149[deploy_ini]
150recipe = collective.recipe.template
151input = etc/deploy.ini.in
152output = ${buildout:parts-directory}/etc/deploy.ini
153
154[debug_ini]
155recipe = collective.recipe.template
156input = etc/debug.ini.in
157output = ${buildout:parts-directory}/etc/debug.ini
158
159[profile_ini]
160recipe = collective.recipe.template
161input = etc/profile.ini.in
162output = ${buildout:parts-directory}/etc/profile.ini
163
164[eggbasket]
165recipe = z3c.recipe.eggbasket
166eggs = grok
167url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
168
169#[waeupdocs]
170#recipe = collective.recipe.sphinxbuilder
171#eggs = kofacustom.nigeria[docs]
172#source = ${buildout:directory}/docs/source
173#build = ${buildout:directory}/docs/build
174
175# Collect test coverage data.
176[coverage-detect]
177recipe = zc.recipe.testrunner
178eggs = kofacustom.nigeria[beaker]
179defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
180
181# Create a coverage report.
182# Make sure to run bin/coverage-detect to collect the data for the report
183# first!
184[coverage-report]
185recipe = zc.recipe.egg
186eggs = z3c.coverage
187scripts = coveragereport
188arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.