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

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

Update and fix localization.

File size: 5.0 KB
Line 
1[buildout]
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
6sources-dir = sources
7develop = .
8parts =
9    eggbasket
10    app
11    i18n
12    test
13    mkdirs
14    zpasswd
15    zope_conf
16    site_zcml
17    zdaemon_conf
18    deploy_ini
19    debug_ini
20    profile_ini
21# waeupdocs
22    coverage-detect
23    coverage-report
24# kofactl creation must be _after_ app!
25    kofactl
26# For backward compatibility, telling buildout not to throw away
27# the data and log subdirectories from the parts directory.
28    data
29    log
30# newest = false
31
32extends = versions.cfg
33
34# eggs will be installed in the default buildout location
35# (see .buildout/default.cfg in your home directory)
36# unless you specify an eggs-directory option here.
37
38[sources]
39waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
40
41[kofa_params]
42## Basic parameters for deployment.
43# default is 127.0.0.1
44host = 0.0.0.0
45# default is 8080
46base_port = 8080
47zeo1_port = 8080
48zeo2_port = 8081
49zeo3_port = 8082
50server_port = 8100
51# default 7. Number of pre-opened ZODB threads/client
52pool_size = 7
53# default 20MB. Cache size of each client (ZEO only)
54client_cache = 20MB
55# default 5000. Number of objects cached.
56object_cache = 5000
57# number of preopened paster threads, default 10
58threadpool_workers = 10
59devel_pkg = kofacustom.nigeria
60
61[app]
62# This creates all scripts in bin/. The kofactl created here is 'faulty'.
63recipe = zc.recipe.egg
64eggs = kofacustom.nigeria [beaker]
65       z3c.evalexception>=2.0
66       Paste
67       PasteScript
68       PasteDeploy
69       repoze.profile
70       ZODB3
71interpreter = python-console
72
73[kofactl]
74# See http://pypi.python.org/pypi/zc.recipe.egg for details...
75# Here we create the kofactl script again, this time with a
76# fixed path to zdaemon.conf as argument.
77recipe = zc.recipe.egg
78eggs = kofacustom.nigeria [beaker]
79       waeup.kofa
80arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
81scripts = kofactl=kofactl
82
83[mkdirs]
84recipe = z3c.recipe.mkdir
85paths =
86    ${zope_conf:filestorage}
87    ${zope_conf:logfiles}
88    ${zope_conf:blobstorage}
89    ${buildout:directory}/var/mailqueue/cur
90    ${buildout:directory}/var/mailqueue/tmp
91    ${buildout:directory}/var/mailqueue/new
92    ${buildout:directory}/var/datacenter/media
93    ${buildout:directory}/parts/test/datacenter
94
95[test]
96recipe = zc.recipe.testrunner
97eggs = kofacustom.nigeria [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 = kofacustom.nigeria
104eggs = kofacustom.nigeria
105domain = kofacustom.nigeria
106output = src/kofacustom/nigeria/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 = kofacustom.nigeria
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[mailqueue]
139recipe = zc.recipe.filestorage
140
141[site_zcml]
142recipe = collective.recipe.template
143input = etc/site.zcml.in
144output = ${buildout:parts-directory}/etc/site.zcml
145
146[zdaemon_conf]
147recipe = collective.recipe.template
148input = etc/zdaemon.conf.in
149output = ${buildout:parts-directory}/etc/zdaemon.conf
150
151[deploy_ini]
152recipe = collective.recipe.template
153input = etc/deploy.ini.in
154output = ${buildout:parts-directory}/etc/deploy.ini
155
156[debug_ini]
157recipe = collective.recipe.template
158input = etc/debug.ini.in
159output = ${buildout:parts-directory}/etc/debug.ini
160
161[profile_ini]
162recipe = collective.recipe.template
163input = etc/profile.ini.in
164output = ${buildout:parts-directory}/etc/profile.ini
165
166[eggbasket]
167recipe = z3c.recipe.eggbasket
168eggs = grok
169url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
170
171#[waeupdocs]
172#recipe = collective.recipe.sphinxbuilder
173#eggs = kofacustom.nigeria[docs]
174#source = ${buildout:directory}/docs/source
175#build = ${buildout:directory}/docs/build
176
177# Collect test coverage data.
178[coverage-detect]
179recipe = zc.recipe.testrunner
180eggs = kofacustom.nigeria[beaker]
181defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
182
183# Create a coverage report.
184# Make sure to run bin/coverage-detect to collect the data for the report
185# first!
186[coverage-report]
187recipe = zc.recipe.egg
188eggs = z3c.coverage
189scripts = coveragereport
190arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.