source: main/waeup.custom/trunk/buildout.cfg @ 7824

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

Upgrade custom package and add internationalization.

I also added dolmen.beaker but I'm not sure if I did it right.

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