source: main/waeup.futminna/trunk/buildout.cfg @ 11122

Last change on this file since 11122 was 10141, checked in by Henrik Bettermann, 12 years ago

Upgrade bootstrap.

File size: 5.1 KB
Line 
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
20    deploy_ini
21    debug_ini
22    profile_ini
23    waeupdocs
24    coverage-detect
25    coverage-report
26# kofactl creation must be _after_ app!
27    kofactl
28# For backward compatibility, telling buildout not to throw away
29# the data and log subdirectories from the parts directory.
30    data
31    log
32# newest = false
33
34extends = versions.cfg
35show-picked-versions = true
36update-versions-file = versions.cfg
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[sources]
43waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
44kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
45
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 = 7041
52zeo1_port = 7041
53zeo2_port = 7042
54zeo3_port = 7043
55server_port = 7040
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
64
65[app]
66# This creates all scripts in bin/. The kofactl created here is 'faulty'.
67recipe = zc.recipe.egg
68eggs = waeup.futminna [beaker]
69       z3c.evalexception>=2.0
70       Paste
71       PasteScript
72       PasteDeploy
73       repoze.profile
74       ZODB3
75interpreter = python-console
76
77[kofactl]
78# See http://pypi.python.org/pypi/zc.recipe.egg for details...
79# Here we create the kofactl script again, this time with a
80# fixed path to zdaemon.conf as argument.
81recipe = zc.recipe.egg
82eggs = waeup.futminna [beaker]
83arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
84scripts = kofactl=kofactl
85
86[mkdirs]
87recipe = z3c.recipe.mkdir
88paths =
89    ${zope_conf:filestorage}
90    ${zope_conf:logfiles}
91    ${zope_conf:blobstorage}
92    ${buildout:directory}/var/datacenter/media
93    ${buildout:directory}/parts/test/datacenter
94
95[test]
96recipe = zc.recipe.testrunner
97eggs = waeup.futminna [beaker, test]
98defaults = ['--tests-pattern', '^f?tests$', '-v']
99
100# This section named so that the i18n scripts are called bin/i18n...
101[i18n]
102recipe = z3c.recipe.i18n:i18n
103packages = waeup.futminna
104eggs = waeup.futminna
105domain = waeup.futminna
106output = src/waeup/futminna/locales
107zcml =
108
109# This section is named so that the zpasswd utility is
110# called `zpasswd`
111[zpasswd]
112recipe = z3c.recipe.dev:script
113eggs = waeup.futminna
114module = zope.app.server.zpasswd
115method = main
116
117[zope_conf]
118recipe = collective.recipe.template
119input = etc/zope.conf.in
120output = ${buildout:parts-directory}/etc/zope.conf
121filestorage = ${buildout:directory}/var/filestorage
122blobstorage = ${buildout:directory}/var/blobstorage
123logfiles = ${buildout:directory}/var/log
124extra =
125# extra = <grokwarnings>True</grokwarnings>
126# 'extra' is copied verbatim. Use it for product config sections and so.
127
128# The [data] and [log] parts are still in here to instruct buildout to not
129# unintentionally throw away the parts/data and parts/log subdirectories
130# that contain the Data.fs and the log files. These files should be
131# copied to the new locations. See the upgrade notes for more information.
132[data]
133recipe = zc.recipe.filestorage
134
135[log]
136recipe = zc.recipe.filestorage
137
138[site_zcml]
139recipe = collective.recipe.template
140input = etc/site.zcml.in
141output = ${buildout:parts-directory}/etc/site.zcml
142
143[zdaemon_conf]
144recipe = collective.recipe.template
145input = etc/zdaemon.conf.in
146output = ${buildout:parts-directory}/etc/zdaemon.conf
147
148[deploy_ini]
149recipe = collective.recipe.template
150input = etc/deploy.ini.in
151output = ${buildout:parts-directory}/etc/deploy.ini
152
153[debug_ini]
154recipe = collective.recipe.template
155input = etc/debug.ini.in
156output = ${buildout:parts-directory}/etc/debug.ini
157
158[profile_ini]
159recipe = collective.recipe.template
160input = etc/profile.ini.in
161output = ${buildout:parts-directory}/etc/profile.ini
162
163[eggbasket]
164recipe = z3c.recipe.eggbasket
165eggs = grok
166url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
167
168[waeupdocs]
169recipe = collective.recipe.sphinxbuilder
170eggs = waeup.futminna[docs]
171source = ${buildout:directory}/docs/source
172build = ${buildout:directory}/docs/build
173
174# Collect test coverage data.
175[coverage-detect]
176recipe = zc.recipe.testrunner
177eggs = waeup.futminna[beaker]
178defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
179
180# Create a coverage report.
181# Make sure to run bin/coverage-detect to collect the data for the report
182# first!
183[coverage-report]
184recipe = zc.recipe.egg
185eggs = z3c.coverage
186scripts = coveragereport
187arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.