source: main/waeup.sirp/branches/ulif-paster/buildout.cfg @ 7704

Last change on this file since 7704 was 5490, checked in by uli, 14 years ago

Replace the old buildout.cfg with a new, paster-geared one. This
buildout.cfg also requires a project layout as generated by more
recent grokproject versions.

In this layout all configuration files are held apart in a new etc/
folder (which will be added shortly). These configuration files are
also templates that can be shared amongst developers working on
different machines and which are updated each time one runs
bin/buildout.

Deeper reason for the switch to paster-based layout is not only to
keep in touch with recent Grok development, but also to support Blob
storage for storing the passport photographs of applicants.

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