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

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

Merge with changes in uniben.waeup.

File size: 5.0 KB
RevLine 
[3516]1[buildout]
[8895]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 = .
[5495]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
[8035]22    profile_ini
[5495]23    waeupdocs
24    coverage-detect
25    coverage-report
[7825]26# kofactl creation must be _after_ app!
27    kofactl
[5495]28# For backward compatibility, telling buildout not to throw away
29# the data and log subdirectories from the parts directory.
30    data
31    log
[5660]32# newest = false
[5495]33
[8360]34extends = versions.cfg
35
[5495]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
[8895]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
[8773]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 = 7041
50zeo1_port = 7041
51zeo2_port = 7042
52zeo3_port = 7043
53server_port = 7040
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
[3516]63[app]
[7825]64# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]65recipe = zc.recipe.egg
[8620]66eggs = waeup.futminna [beaker]
[5495]67       z3c.evalexception>=2.0
68       Paste
69       PasteScript
70       PasteDeploy
[8035]71       repoze.profile
72       ZODB3
[8895]73interpreter = python-console
[3516]74
[7825]75[kofactl]
[5503]76# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7825]77# Here we create the kofactl script again, this time with a
[5503]78# fixed path to zdaemon.conf as argument.
79recipe = zc.recipe.egg
[8620]80eggs = waeup.futminna [beaker]
[5503]81arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7825]82scripts = kofactl=kofactl
[5503]83
[5495]84[mkdirs]
85recipe = z3c.recipe.mkdir
86paths =
87    ${zope_conf:filestorage}
88    ${zope_conf:logfiles}
89    ${zope_conf:blobstorage}
[7587]90    ${buildout:directory}/var/datacenter/media
91    ${buildout:directory}/parts/test/datacenter
[4789]92
[5495]93[test]
94recipe = zc.recipe.testrunner
[8620]95eggs = waeup.futminna [beaker, test]
[5495]96defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]97
[7695]98# This section named so that the i18n scripts are called bin/i18n...
[5495]99[i18n]
100recipe = z3c.recipe.i18n:i18n
[8620]101packages = waeup.futminna
102eggs = waeup.futminna
103domain = waeup.futminna
104output = src/waeup/futminna/locales
[5495]105zcml =
[4789]106
[5495]107# This section is named so that the zpasswd utility is
108# called `zpasswd`
109[zpasswd]
110recipe = z3c.recipe.dev:script
[8620]111eggs = waeup.futminna
[5495]112module = zope.app.server.zpasswd
113method = main
[3516]114
[5495]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.
[3516]130[data]
131recipe = zc.recipe.filestorage
132
[5495]133[log]
134recipe = zc.recipe.filestorage
[3516]135
[5495]136[site_zcml]
137recipe = collective.recipe.template
138input = etc/site.zcml.in
139output = ${buildout:parts-directory}/etc/site.zcml
[3516]140
[5495]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
[8035]156[profile_ini]
157recipe = collective.recipe.template
158input = etc/profile.ini.in
159output = ${buildout:parts-directory}/etc/profile.ini
160
[5495]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
[8620]168eggs = waeup.futminna[docs]
[5495]169source = ${buildout:directory}/docs/source
170build = ${buildout:directory}/docs/build
171
[4789]172# Collect test coverage data.
173[coverage-detect]
174recipe = zc.recipe.testrunner
[8620]175eggs = waeup.futminna[beaker]
[4789]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
[5226]184scripts = coveragereport
[6398]185arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.