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

Last change on this file since 8711 was 8699, checked in by uli, 13 years ago

A python console is always useful. Create it (also needed for stress-testing).

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
[8020]36eggs = waeup.uniben [beaker]
[5495]37       z3c.evalexception>=2.0
38       Paste
39       PasteScript
40       PasteDeploy
[8035]41       repoze.profile
42       ZODB3
[8699]43interpreter = python-console
[3516]44
[7825]45[kofactl]
[5503]46# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7825]47# Here we create the kofactl script again, this time with a
[5503]48# fixed path to zdaemon.conf as argument.
49recipe = zc.recipe.egg
[8020]50eggs = waeup.uniben [beaker]
[5503]51arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7825]52scripts = kofactl=kofactl
[5503]53
[5495]54[mkdirs]
55recipe = z3c.recipe.mkdir
56paths =
57    ${zope_conf:filestorage}
58    ${zope_conf:logfiles}
59    ${zope_conf:blobstorage}
[7587]60    ${buildout:directory}/var/datacenter/media
61    ${buildout:directory}/parts/test/datacenter
[4789]62
[5495]63[test]
64recipe = zc.recipe.testrunner
[8020]65eggs = waeup.uniben [beaker, test]
[5495]66defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]67
[7695]68# This section named so that the i18n scripts are called bin/i18n...
[5495]69[i18n]
70recipe = z3c.recipe.i18n:i18n
[8020]71packages = waeup.uniben
72eggs = waeup.uniben
73domain = waeup.uniben
74output = src/waeup/uniben/locales
[5495]75zcml =
[4789]76
[5495]77# This section is named so that the zpasswd utility is
78# called `zpasswd`
79[zpasswd]
80recipe = z3c.recipe.dev:script
[8020]81eggs = waeup.uniben
[5495]82module = zope.app.server.zpasswd
83method = main
[3516]84
[5495]85[zope_conf]
86recipe = collective.recipe.template
87input = etc/zope.conf.in
88output = ${buildout:parts-directory}/etc/zope.conf
89filestorage = ${buildout:directory}/var/filestorage
90blobstorage = ${buildout:directory}/var/blobstorage
91logfiles = ${buildout:directory}/var/log
92extra =
93# extra = <grokwarnings>True</grokwarnings>
94# 'extra' is copied verbatim. Use it for product config sections and so.
95
96# The [data] and [log] parts are still in here to instruct buildout to not
97# unintentionally throw away the parts/data and parts/log subdirectories
98# that contain the Data.fs and the log files. These files should be
99# copied to the new locations. See the upgrade notes for more information.
[3516]100[data]
101recipe = zc.recipe.filestorage
102
[5495]103[log]
104recipe = zc.recipe.filestorage
[3516]105
[5495]106[site_zcml]
107recipe = collective.recipe.template
108input = etc/site.zcml.in
109output = ${buildout:parts-directory}/etc/site.zcml
[3516]110
[5495]111[zdaemon_conf]
112recipe = collective.recipe.template
113input = etc/zdaemon.conf.in
114output = ${buildout:parts-directory}/etc/zdaemon.conf
115
116[deploy_ini]
117recipe = collective.recipe.template
118input = etc/deploy.ini.in
119output = ${buildout:parts-directory}/etc/deploy.ini
120
121[debug_ini]
122recipe = collective.recipe.template
123input = etc/debug.ini.in
124output = ${buildout:parts-directory}/etc/debug.ini
125
[8035]126[profile_ini]
127recipe = collective.recipe.template
128input = etc/profile.ini.in
129output = ${buildout:parts-directory}/etc/profile.ini
130
[5495]131[eggbasket]
132recipe = z3c.recipe.eggbasket
133eggs = grok
134url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
135
136[waeupdocs]
137recipe = collective.recipe.sphinxbuilder
[8020]138eggs = waeup.uniben[docs]
[5495]139source = ${buildout:directory}/docs/source
140build = ${buildout:directory}/docs/build
141
[4789]142# Collect test coverage data.
143[coverage-detect]
144recipe = zc.recipe.testrunner
[8020]145eggs = waeup.uniben[beaker]
[4789]146defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
147
148# Create a coverage report.
149# Make sure to run bin/coverage-detect to collect the data for the report
150# first!
151[coverage-report]
152recipe = zc.recipe.egg
153eggs = z3c.coverage
[5226]154scripts = coveragereport
[6398]155arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.