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

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

Add and adjust configuration files.

File size: 4.8 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
27#extends = versions.cfg
[5328]28extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg
[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]33versions = versions
34
[4789]35[versions]
[6287]36collective.recipe.sphinxbuilder = 0.7.0
[6349]37hurry.workflow = 0.11
[6287]38# Pinned to circumvent breakage in 0.4.x
39hurry.zoperesource = 0.6
40# Pinned to prevent buildout svn-error.
41lovely.recipe = 1.0.0
[5058]42megrok.layout = 1.0.2
[6194]43reportlab = 2.5
[6308]44transaction = 1.1.0
[6287]45z3c.testsetup = 0.6.1
[6308]46zc.buildout = 1.5.0
47zc.recipe.egg = 1.3.0
48zc.recipe.testrunner = 1.4.0
49zope.app.testing = 3.8.1
[6287]50# for support of @provider directive
51zope.interface = 3.6.3
52# for support of contextual default values
53zope.schema = 3.8.0
[6308]54zope.testing = 3.10.2
[6287]55zope.xmlpickle = 3.4.0
56# Require latest version...
[7695]57Sphinx = 1.0.7
[6308]58ZODB3 = 3.10.3
[6871]59docutils = 0.7
60Jinja2 = 2.3
[4789]61
[3516]62[app]
[7825]63# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]64recipe = zc.recipe.egg
[8020]65eggs = waeup.uniben [beaker]
[5495]66       z3c.evalexception>=2.0
67       Paste
68       PasteScript
69       PasteDeploy
[8035]70       repoze.profile
71       ZODB3
[5495]72interpreter = python-console
[3516]73
[7825]74[kofactl]
[5503]75# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7825]76# Here we create the kofactl script again, this time with a
[5503]77# fixed path to zdaemon.conf as argument.
78recipe = zc.recipe.egg
[8020]79eggs = waeup.uniben [beaker]
[5503]80arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7825]81scripts = kofactl=kofactl
[5503]82
[5495]83[mkdirs]
84recipe = z3c.recipe.mkdir
85paths =
86    ${zope_conf:filestorage}
87    ${zope_conf:logfiles}
88    ${zope_conf:blobstorage}
[7587]89    ${buildout:directory}/var/datacenter/media
90    ${buildout:directory}/parts/test/datacenter
[4789]91
[5495]92[test]
93recipe = zc.recipe.testrunner
[8020]94eggs = waeup.uniben [beaker, test]
[5495]95defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]96
[7695]97# This section named so that the i18n scripts are called bin/i18n...
[5495]98[i18n]
99recipe = z3c.recipe.i18n:i18n
[8020]100packages = waeup.uniben
101eggs = waeup.uniben
102domain = waeup.uniben
103output = src/waeup/uniben/locales
[5495]104zcml =
[4789]105
[5495]106# This section is named so that the zpasswd utility is
107# called `zpasswd`
108[zpasswd]
109recipe = z3c.recipe.dev:script
[8020]110eggs = waeup.uniben
[5495]111module = zope.app.server.zpasswd
112method = main
[3516]113
[5495]114[zope_conf]
115recipe = collective.recipe.template
116input = etc/zope.conf.in
117output = ${buildout:parts-directory}/etc/zope.conf
118filestorage = ${buildout:directory}/var/filestorage
119blobstorage = ${buildout:directory}/var/blobstorage
120logfiles = ${buildout:directory}/var/log
121extra =
122# extra = <grokwarnings>True</grokwarnings>
123# 'extra' is copied verbatim. Use it for product config sections and so.
124
125# The [data] and [log] parts are still in here to instruct buildout to not
126# unintentionally throw away the parts/data and parts/log subdirectories
127# that contain the Data.fs and the log files. These files should be
128# copied to the new locations. See the upgrade notes for more information.
[3516]129[data]
130recipe = zc.recipe.filestorage
131
[5495]132[log]
133recipe = zc.recipe.filestorage
[3516]134
[5495]135[site_zcml]
136recipe = collective.recipe.template
137input = etc/site.zcml.in
138output = ${buildout:parts-directory}/etc/site.zcml
[3516]139
[5495]140[zdaemon_conf]
141recipe = collective.recipe.template
142input = etc/zdaemon.conf.in
143output = ${buildout:parts-directory}/etc/zdaemon.conf
144
145[deploy_ini]
146recipe = collective.recipe.template
147input = etc/deploy.ini.in
148output = ${buildout:parts-directory}/etc/deploy.ini
149
150[debug_ini]
151recipe = collective.recipe.template
152input = etc/debug.ini.in
153output = ${buildout:parts-directory}/etc/debug.ini
154
[8035]155[profile_ini]
156recipe = collective.recipe.template
157input = etc/profile.ini.in
158output = ${buildout:parts-directory}/etc/profile.ini
159
[5495]160[eggbasket]
161recipe = z3c.recipe.eggbasket
162eggs = grok
163url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
164
165[waeupdocs]
166recipe = collective.recipe.sphinxbuilder
[8020]167eggs = waeup.uniben[docs]
[5495]168source = ${buildout:directory}/docs/source
169build = ${buildout:directory}/docs/build
170
[4789]171# Collect test coverage data.
172[coverage-detect]
173recipe = zc.recipe.testrunner
[8020]174eggs = waeup.uniben[beaker]
[4789]175defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
176
177# Create a coverage report.
178# Make sure to run bin/coverage-detect to collect the data for the report
179# first!
180[coverage-report]
181recipe = zc.recipe.egg
182eggs = z3c.coverage
[5226]183scripts = coveragereport
[6398]184arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.