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

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

Let buildout create the subdirectory var/datacenter/media.

File size: 4.8 KB
Line 
1[buildout]
2develop = .
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
15    profile_ini
16    waeupdocs
17    coverage-detect
18    coverage-report
19# sirpctl creation must be _after_ app!
20    sirpctl
21# For backward compatibility, telling buildout not to throw away
22# the data and log subdirectories from the parts directory.
23    data
24    log
25# newest = false
26
27#extends = versions.cfg
28extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg
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
33versions = versions
34
35[versions]
36collective.recipe.sphinxbuilder = 0.7.0
37hurry.workflow = 0.11
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
42megrok.layout = 1.0.2
43reportlab = 2.5
44transaction = 1.1.0
45z3c.testsetup = 0.6.1
46zc.buildout = 1.5.0
47zc.recipe.egg = 1.3.0
48zc.recipe.testrunner = 1.4.0
49zope.app.testing = 3.8.1
50# for support of @provider directive
51zope.interface = 3.6.3
52# for support of contextual default values
53zope.schema = 3.8.0
54zope.testing = 3.10.2
55zope.xmlpickle = 3.4.0
56# Require latest version...
57Sphinx = 1.0.7
58ZODB3 = 3.10.3
59docutils = 0.7
60Jinja2 = 2.3
61
62[app]
63# This creates all scripts in bin/. The sirpctl created here is 'faulty'.
64recipe = zc.recipe.egg
65eggs = waeup.sirp [beaker]
66       z3c.evalexception>=2.0
67       Paste
68       PasteScript
69       PasteDeploy
70       repoze.profile
71interpreter = python-console
72
73[sirpctl]
74# See http://pypi.python.org/pypi/zc.recipe.egg for details...
75# Here we create the sirpctl script again, this time with a
76# fixed path to zdaemon.conf as argument.
77recipe = zc.recipe.egg
78eggs = waeup.sirp [beaker]
79arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
80scripts = sirpctl=sirpctl
81
82[mkdirs]
83recipe = z3c.recipe.mkdir
84paths =
85    ${zope_conf:filestorage}
86    ${zope_conf:logfiles}
87    ${zope_conf:blobstorage}
88    ${buildout:directory}/var/mailqueue/cur
89    ${buildout:directory}/var/mailqueue/tmp
90    ${buildout:directory}/var/mailqueue/new
91    ${buildout:directory}/var/datacenter/media
92
93[test]
94recipe = zc.recipe.testrunner
95eggs = waeup.sirp [beaker, test]
96defaults = ['--tests-pattern', '^f?tests$', '-v']
97
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 =
106
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
114
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.
130[data]
131recipe = zc.recipe.filestorage
132
133[log]
134recipe = zc.recipe.filestorage
135
136[mailqueue]
137recipe = zc.recipe.filestorage
138
139[site_zcml]
140recipe = collective.recipe.template
141input = etc/site.zcml.in
142output = ${buildout:parts-directory}/etc/site.zcml
143
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
159[profile_ini]
160recipe = collective.recipe.template
161input = etc/profile.ini.in
162output = ${buildout:parts-directory}/etc/profile.ini
163
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
171eggs = waeup.sirp[docs]
172source = ${buildout:directory}/docs/source
173build = ${buildout:directory}/docs/build
174
175# Collect test coverage data.
176[coverage-detect]
177recipe = zc.recipe.testrunner
178eggs = waeup.sirp[beaker]
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
187scripts = coveragereport
188arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.