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