source: main/waeup.uniben/trunk/buildout.cfg @ 9356

Last change on this file since 9356 was 8893, checked in by uli, 12 years ago

Merge changes from uli-autoinclude-less branch back into trunk.

File size: 5.0 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
35
36# eggs will be installed in the default buildout location
37# (see .buildout/default.cfg in your home directory)
38# unless you specify an eggs-directory option here.
39
40[sources]
41waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
42kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
43
44[kofa_params]
45## Basic parameters for deployment.
46# default is 127.0.0.1
47host = 0.0.0.0
48# default is 8080
49base_port = 7011
50zeo1_port = 7011
51zeo2_port = 7012
52zeo3_port = 7013
53server_port = 7010
54# default 7. Number of pre-opened ZODB threads/client
55pool_size = 7
56# default 20MB. Cache size of each client (ZEO only)
57client_cache = 20MB
58# default 5000. Number of objects cached.
59object_cache = 5000
60# number of preopened paster threads, default 10
61threadpool_workers = 10
62
63[app]
64# This creates all scripts in bin/. The kofactl created here is 'faulty'.
65recipe = zc.recipe.egg
66eggs = waeup.uniben [beaker]
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.uniben [beaker]
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/datacenter/media
91    ${buildout:directory}/parts/test/datacenter
92
93[test]
94recipe = zc.recipe.testrunner
95eggs = waeup.uniben [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 = waeup.uniben
102eggs = waeup.uniben
103domain = waeup.uniben
104output = src/waeup/uniben/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 = waeup.uniben
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[site_zcml]
137recipe = collective.recipe.template
138input = etc/site.zcml.in
139output = ${buildout:parts-directory}/etc/site.zcml
140
141[zdaemon_conf]
142recipe = collective.recipe.template
143input = etc/zdaemon.conf.in
144output = ${buildout:parts-directory}/etc/zdaemon.conf
145
146[deploy_ini]
147recipe = collective.recipe.template
148input = etc/deploy.ini.in
149output = ${buildout:parts-directory}/etc/deploy.ini
150
151[debug_ini]
152recipe = collective.recipe.template
153input = etc/debug.ini.in
154output = ${buildout:parts-directory}/etc/debug.ini
155
156[profile_ini]
157recipe = collective.recipe.template
158input = etc/profile.ini.in
159output = ${buildout:parts-directory}/etc/profile.ini
160
161[eggbasket]
162recipe = z3c.recipe.eggbasket
163eggs = grok
164url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
165
166[waeupdocs]
167recipe = collective.recipe.sphinxbuilder
168eggs = waeup.uniben[docs]
169source = ${buildout:directory}/docs/source
170build = ${buildout:directory}/docs/build
171
172# Collect test coverage data.
173[coverage-detect]
174recipe = zc.recipe.testrunner
175eggs = waeup.uniben[beaker]
176defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
177
178# Create a coverage report.
179# Make sure to run bin/coverage-detect to collect the data for the report
180# first!
181[coverage-report]
182recipe = zc.recipe.egg
183eggs = z3c.coverage
184scripts = coveragereport
185arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.