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

Last change on this file since 6266 was 6194, checked in by uli, 14 years ago

Require reportlab for PDF generation.

File size: 4.2 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    waeupdocs
16    coverage-detect
17    coverage-report
18# sirpctl creation must be _after_ app!
19    sirpctl
20# For backward compatibility, telling buildout not to throw away
21# the data and log subdirectories from the parts directory.
22    data
23    log
24# newest = false
25
26#extends = versions.cfg
27extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg
28# eggs will be installed in the default buildout location
29# (see .buildout/default.cfg in your home directory)
30# unless you specify an eggs-directory option here.
31
32versions = versions
33
34[versions]
35#zc.sourcefactory = 0.3.5
36#zope.testing = 3.7.0
37z3c.testsetup = 0.6.1
38hurry.workflow = 0.10
39#hurry.query = 0.9.2
40zope.xmlpickle = 3.4.0
41#hurry.yui = 2.7.0
42hurry.zoperesource = 0.6 # Pinned to circumvent breakage in 0.4.x
43megrok.layout = 1.0.2
44lovely.recipe = 1.0.0    # Pinned to prevent buildout svn-error.
45collective.recipe.sphinxbuilder = 0.7.0
46reportlab = 2.5
47# Require lates version...
48Sphinx =
49
50[app]
51# This creates all scripts in bin/. The sirpctl created here is 'faulty'.
52recipe = zc.recipe.egg
53eggs = waeup.sirp
54       z3c.evalexception>=2.0
55       Paste
56       PasteScript
57       PasteDeploy
58interpreter = python-console
59
60[sirpctl]
61# See http://pypi.python.org/pypi/zc.recipe.egg for details...
62# Here we create the sirpctl script again, this time with a
63# fixed path to zdaemon.conf as argument.
64recipe = zc.recipe.egg
65eggs = waeup.sirp
66arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
67scripts = sirpctl=sirpctl
68
69[mkdirs]
70recipe = z3c.recipe.mkdir
71paths =
72    ${zope_conf:filestorage}
73    ${zope_conf:logfiles}
74    ${zope_conf:blobstorage}
75
76[test]
77recipe = zc.recipe.testrunner
78eggs = waeup.sirp [test]
79defaults = ['--tests-pattern', '^f?tests$', '-v']
80
81# this section named so that the i18n scripts are called bin/i18n...
82[i18n]
83recipe = z3c.recipe.i18n:i18n
84packages = waeup.sirp
85eggs = waeup.sirp
86domain = waeup.sirp
87output = src/waeup/sirp/locales
88zcml =
89
90# This section is named so that the zpasswd utility is
91# called `zpasswd`
92[zpasswd]
93recipe = z3c.recipe.dev:script
94eggs = waeup.sirp
95module = zope.app.server.zpasswd
96method = main
97
98[zope_conf]
99recipe = collective.recipe.template
100input = etc/zope.conf.in
101output = ${buildout:parts-directory}/etc/zope.conf
102filestorage = ${buildout:directory}/var/filestorage
103blobstorage = ${buildout:directory}/var/blobstorage
104logfiles = ${buildout:directory}/var/log
105extra =
106# extra = <grokwarnings>True</grokwarnings>
107# 'extra' is copied verbatim. Use it for product config sections and so.
108
109# The [data] and [log] parts are still in here to instruct buildout to not
110# unintentionally throw away the parts/data and parts/log subdirectories
111# that contain the Data.fs and the log files. These files should be
112# copied to the new locations. See the upgrade notes for more information.
113[data]
114recipe = zc.recipe.filestorage
115
116[log]
117recipe = zc.recipe.filestorage
118
119[site_zcml]
120recipe = collective.recipe.template
121input = etc/site.zcml.in
122output = ${buildout:parts-directory}/etc/site.zcml
123
124[zdaemon_conf]
125recipe = collective.recipe.template
126input = etc/zdaemon.conf.in
127output = ${buildout:parts-directory}/etc/zdaemon.conf
128
129[deploy_ini]
130recipe = collective.recipe.template
131input = etc/deploy.ini.in
132output = ${buildout:parts-directory}/etc/deploy.ini
133
134[debug_ini]
135recipe = collective.recipe.template
136input = etc/debug.ini.in
137output = ${buildout:parts-directory}/etc/debug.ini
138
139[eggbasket]
140recipe = z3c.recipe.eggbasket
141eggs = grok
142url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
143
144[waeupdocs]
145recipe = collective.recipe.sphinxbuilder
146eggs = waeup.sirp[docs]
147source = ${buildout:directory}/docs/source
148build = ${buildout:directory}/docs/build
149
150# Collect test coverage data.
151[coverage-detect]
152recipe = zc.recipe.testrunner
153eggs = waeup.sirp
154defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
155
156# Create a coverage report.
157# Make sure to run bin/coverage-detect to collect the data for the report
158# first!
159[coverage-report]
160recipe = zc.recipe.egg
161eggs = z3c.coverage
162scripts = coveragereport
163arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.