source: waeup/branches/ulif-blobs/buildout.cfg @ 5354

Last change on this file since 5354 was 4789, checked in by uli, 15 years ago

Merge changes from ulif-layout back into trunk (finally).

File size: 3.2 KB
Line 
1[buildout]
2develop = .
3parts = app data zopectl i18n test waeupdocs coverage-detect coverage-report
4find-links = http://download.zope.org/distribution/
5newest = false
6extends= http://grok.zope.org/releaseinfo/grok-1.0.cfg
7versions = versions
8
9[versions]
10zc.sourcefactory = 0.3.5
11zope.testing = 3.7.0
12z3c.testsetup = 0.4.0
13hurry.workflow = 0.10
14hurry.query = 0.9.2
15zope.xmlpickle = 3.4.0
16hurry.yui = 2.7.0
17hurry.zoperesource = 0.4
18megrok.layout = 0.9
19
20
21[app]
22recipe = zc.zope3recipes>=0.5.3:application
23eggs = waeup
24site.zcml = <include package="waeup" />
25            <include package="zope.app.twisted" />
26
27            <configure i18n_domain="waeup">
28              <unauthenticatedPrincipal id="zope.anybody"
29                                        title="Unauthenticated User" />
30              <unauthenticatedGroup id="zope.Anybody"
31                                    title="Unauthenticated Users" />
32              <authenticatedGroup id="zope.Authenticated"
33                                title="Authenticated Users" />
34              <everybodyGroup id="zope.Everybody"
35                              title="All Users" />
36              <principal id="zope.manager"
37                         title="Manager"
38                         login="grok"
39                         password_manager="Plain Text"
40                         password="grok"
41                         />
42
43              <grant permission="zope.View"
44                     principal="zope.Authenticated" />
45              <grant permission="zope.app.dublincore.view"
46                     principal="zope.Authenticated" />
47
48              <!-- Replace the following directive if you don't want
49                   public access -->
50              <grant permission="zope.View"
51                     principal="zope.Anybody" />
52              <grant permission="zope.app.dublincore.view"
53                     principal="zope.Anybody" />
54
55              <grant permission="waeup.Public"
56                     principal="zope.Everybody" />
57
58              <role id="zope.Manager" title="Site Manager" />
59              <role id="zope.Member" title="Site Member" />
60              <grantAll role="zope.Manager" />
61              <grant role="zope.Manager"
62                     principal="zope.manager" />
63           </configure>
64
65[data]
66recipe = zc.recipe.filestorage
67
68# this section named so that the start/stop script is called bin/zopectl
69[zopectl]
70recipe = zc.zope3recipes:instance
71application = app
72zope.conf = ${data:zconfig}
73
74[test]
75recipe = zc.recipe.testrunner
76eggs = waeup
77defaults = ['--tests-pattern', '^f?tests$', '-v']
78
79# Collect test coverage data.
80[coverage-detect]
81recipe = zc.recipe.testrunner
82eggs = waeup
83defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
84
85# Create a coverage report.
86# Make sure to run bin/coverage-detect to collect the data for the report
87# first!
88[coverage-report]
89recipe = zc.recipe.egg
90eggs = z3c.coverage
91scripts = coverage
92arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:parts-directory}/coverage-detect/coverage/report')
93
94
95
96# this section named so that the i18n scripts are called bin/i18n...
97[i18n]
98recipe = lovely.recipe:i18n
99package = waeup
100domain = waeup
101location = src/waeup
102output = locales
103
104[waeupdocs]
105recipe = z3c.recipe.sphinxdoc
106eggs = waeup [docs]
107default.css =
108layout.html =
109
Note: See TracBrowser for help on using the repository browser.