source: main/waeup.sirp/branches/ulif-fasttables/buildout.cfg @ 11110

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