source: main/waeup.sirp/trunk/buildout.cfg @ 7579

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

Let buildout create the subdirectory var/datacenter/media.

File size: 4.8 KB
RevLine 
[3516]1[buildout]
2develop = .
[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
[7482]15    profile_ini
[5495]16    waeupdocs
17    coverage-detect
18    coverage-report
[5503]19# sirpctl creation must be _after_ app!
20    sirpctl
[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...
[7063]57Sphinx = 1.0.7
[6308]58ZODB3 = 3.10.3
[6871]59docutils = 0.7
60Jinja2 = 2.3
[4789]61
[3516]62[app]
[5503]63# This creates all scripts in bin/. The sirpctl created here is 'faulty'.
[5495]64recipe = zc.recipe.egg
[7571]65eggs = waeup.sirp [beaker]
[5495]66       z3c.evalexception>=2.0
67       Paste
68       PasteScript
69       PasteDeploy
[7482]70       repoze.profile
[5495]71interpreter = python-console
[3516]72
[5503]73[sirpctl]
74# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[6287]75# Here we create the sirpctl script again, this time with a
[5503]76# fixed path to zdaemon.conf as argument.
77recipe = zc.recipe.egg
[7571]78eggs = waeup.sirp [beaker]
[5503]79arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
80scripts = sirpctl=sirpctl
81
[5495]82[mkdirs]
83recipe = z3c.recipe.mkdir
84paths =
85    ${zope_conf:filestorage}
86    ${zope_conf:logfiles}
87    ${zope_conf:blobstorage}
[7470]88    ${buildout:directory}/var/mailqueue/cur
89    ${buildout:directory}/var/mailqueue/tmp
90    ${buildout:directory}/var/mailqueue/new
[7578]91    ${buildout:directory}/var/datacenter/media
[4789]92
[5495]93[test]
94recipe = zc.recipe.testrunner
[7571]95eggs = waeup.sirp [beaker, test]
[5495]96defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]97
[5495]98# this section named so that the i18n scripts are called bin/i18n...
99[i18n]
100recipe = z3c.recipe.i18n:i18n
101packages = waeup.sirp
102eggs = waeup.sirp
103domain = waeup.sirp
104output = src/waeup/sirp/locales
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
111eggs = waeup.sirp
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
[7470]136[mailqueue]
137recipe = zc.recipe.filestorage
138
[5495]139[site_zcml]
140recipe = collective.recipe.template
141input = etc/site.zcml.in
142output = ${buildout:parts-directory}/etc/site.zcml
[3516]143
[5495]144[zdaemon_conf]
145recipe = collective.recipe.template
146input = etc/zdaemon.conf.in
147output = ${buildout:parts-directory}/etc/zdaemon.conf
148
149[deploy_ini]
150recipe = collective.recipe.template
151input = etc/deploy.ini.in
152output = ${buildout:parts-directory}/etc/deploy.ini
153
154[debug_ini]
155recipe = collective.recipe.template
156input = etc/debug.ini.in
157output = ${buildout:parts-directory}/etc/debug.ini
158
[7482]159[profile_ini]
160recipe = collective.recipe.template
161input = etc/profile.ini.in
162output = ${buildout:parts-directory}/etc/profile.ini
163
[5495]164[eggbasket]
165recipe = z3c.recipe.eggbasket
166eggs = grok
167url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
168
169[waeupdocs]
170recipe = collective.recipe.sphinxbuilder
[5634]171eggs = waeup.sirp[docs]
[5495]172source = ${buildout:directory}/docs/source
173build = ${buildout:directory}/docs/build
174
[4789]175# Collect test coverage data.
176[coverage-detect]
177recipe = zc.recipe.testrunner
[7571]178eggs = waeup.sirp[beaker]
[4789]179defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
180
181# Create a coverage report.
182# Make sure to run bin/coverage-detect to collect the data for the report
183# first!
184[coverage-report]
185recipe = zc.recipe.egg
186eggs = z3c.coverage
[5226]187scripts = coveragereport
[6398]188arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.