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

Last change on this file since 8696 was 8620, checked in by Henrik Bettermann, 13 years ago

Set up ports.

File size: 4.1 KB
RevLine 
[3516]1[buildout]
[7825]2develop = . waeup.kofa
[5495]3parts =
4    eggbasket
5    app
6    i18n
7    test
8    mkdirs
9    zpasswd
10    zope_conf
11    site_zcml
12    zdaemon_conf
13    deploy_ini
14    debug_ini
[8035]15    profile_ini
[5495]16    waeupdocs
17    coverage-detect
18    coverage-report
[7825]19# kofactl creation must be _after_ app!
20    kofactl
[5495]21# For backward compatibility, telling buildout not to throw away
22# the data and log subdirectories from the parts directory.
23    data
24    log
[5660]25# newest = false
[5495]26
[8360]27extends = versions.cfg
28
[5495]29# eggs will be installed in the default buildout location
30# (see .buildout/default.cfg in your home directory)
31# unless you specify an eggs-directory option here.
32
[3516]33[app]
[7825]34# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]35recipe = zc.recipe.egg
[8620]36eggs = waeup.futminna [beaker]
[5495]37       z3c.evalexception>=2.0
38       Paste
39       PasteScript
40       PasteDeploy
[8035]41       repoze.profile
42       ZODB3
[3516]43
[7825]44[kofactl]
[5503]45# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7825]46# Here we create the kofactl script again, this time with a
[5503]47# fixed path to zdaemon.conf as argument.
48recipe = zc.recipe.egg
[8620]49eggs = waeup.futminna [beaker]
[5503]50arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7825]51scripts = kofactl=kofactl
[5503]52
[5495]53[mkdirs]
54recipe = z3c.recipe.mkdir
55paths =
56    ${zope_conf:filestorage}
57    ${zope_conf:logfiles}
58    ${zope_conf:blobstorage}
[7587]59    ${buildout:directory}/var/datacenter/media
60    ${buildout:directory}/parts/test/datacenter
[4789]61
[5495]62[test]
63recipe = zc.recipe.testrunner
[8620]64eggs = waeup.futminna [beaker, test]
[5495]65defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]66
[7695]67# This section named so that the i18n scripts are called bin/i18n...
[5495]68[i18n]
69recipe = z3c.recipe.i18n:i18n
[8620]70packages = waeup.futminna
71eggs = waeup.futminna
72domain = waeup.futminna
73output = src/waeup/futminna/locales
[5495]74zcml =
[4789]75
[5495]76# This section is named so that the zpasswd utility is
77# called `zpasswd`
78[zpasswd]
79recipe = z3c.recipe.dev:script
[8620]80eggs = waeup.futminna
[5495]81module = zope.app.server.zpasswd
82method = main
[3516]83
[5495]84[zope_conf]
85recipe = collective.recipe.template
86input = etc/zope.conf.in
87output = ${buildout:parts-directory}/etc/zope.conf
88filestorage = ${buildout:directory}/var/filestorage
89blobstorage = ${buildout:directory}/var/blobstorage
90logfiles = ${buildout:directory}/var/log
91extra =
92# extra = <grokwarnings>True</grokwarnings>
93# 'extra' is copied verbatim. Use it for product config sections and so.
94
95# The [data] and [log] parts are still in here to instruct buildout to not
96# unintentionally throw away the parts/data and parts/log subdirectories
97# that contain the Data.fs and the log files. These files should be
98# copied to the new locations. See the upgrade notes for more information.
[3516]99[data]
100recipe = zc.recipe.filestorage
101
[5495]102[log]
103recipe = zc.recipe.filestorage
[3516]104
[5495]105[site_zcml]
106recipe = collective.recipe.template
107input = etc/site.zcml.in
108output = ${buildout:parts-directory}/etc/site.zcml
[3516]109
[5495]110[zdaemon_conf]
111recipe = collective.recipe.template
112input = etc/zdaemon.conf.in
113output = ${buildout:parts-directory}/etc/zdaemon.conf
114
115[deploy_ini]
116recipe = collective.recipe.template
117input = etc/deploy.ini.in
118output = ${buildout:parts-directory}/etc/deploy.ini
119
120[debug_ini]
121recipe = collective.recipe.template
122input = etc/debug.ini.in
123output = ${buildout:parts-directory}/etc/debug.ini
124
[8035]125[profile_ini]
126recipe = collective.recipe.template
127input = etc/profile.ini.in
128output = ${buildout:parts-directory}/etc/profile.ini
129
[5495]130[eggbasket]
131recipe = z3c.recipe.eggbasket
132eggs = grok
133url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
134
135[waeupdocs]
136recipe = collective.recipe.sphinxbuilder
[8620]137eggs = waeup.futminna[docs]
[5495]138source = ${buildout:directory}/docs/source
139build = ${buildout:directory}/docs/build
140
[4789]141# Collect test coverage data.
142[coverage-detect]
143recipe = zc.recipe.testrunner
[8620]144eggs = waeup.futminna[beaker]
[4789]145defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
146
147# Create a coverage report.
148# Make sure to run bin/coverage-detect to collect the data for the report
149# first!
150[coverage-report]
151recipe = zc.recipe.egg
152eggs = z3c.coverage
[5226]153scripts = coveragereport
[6398]154arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.