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

Last change on this file since 5336 was 5332, checked in by uli, 14 years ago

Replace the old sphinxbuilder recipe by something that only creates scripts
for calling sphinx directly.

This way we can maintain docs in an own directory where we can also
finetune the configuration, layout, etc.

I think it is also more obvious to see, how documentation generation
works, as it is not hidden away in parts/ any more.

Instead we now have docs/sources and docs/build where things get
generated. Please do not checkin files in build (except the makefiles
already there), as stuff in there will be regenerated each time we
create new documentation.

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