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

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

Require newer versions of zope.schema and zope.interface. They provide some bits we will make use of soon.

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