[3516] | 1 | [buildout] |
---|
| 2 | develop = . |
---|
[4354] | 3 | parts = app data zopectl i18n test waeupdocs coverage-detect coverage-report |
---|
[3516] | 4 | find-links = http://download.zope.org/distribution/ |
---|
| 5 | newest = false |
---|
[4580] | 6 | extends= http://grok.zope.org/releaseinfo/grok-1.0.cfg |
---|
[3516] | 7 | versions = versions |
---|
| 8 | |
---|
[3834] | 9 | [versions] |
---|
[4123] | 10 | zc.sourcefactory = 0.3.5 |
---|
[4350] | 11 | zope.testing = 3.7.0 |
---|
[4369] | 12 | z3c.testsetup = 0.4.0 |
---|
[4566] | 13 | hurry.workflow = 0.10 |
---|
| 14 | hurry.query = 0.9.2 |
---|
| 15 | zope.xmlpickle = 3.4.0 |
---|
| 16 | hurry.yui = 2.7.0 |
---|
| 17 | hurry.zoperesource = 0.4 |
---|
[4582] | 18 | megrok.layout = 0.9 |
---|
[3834] | 19 | |
---|
[4566] | 20 | |
---|
[3516] | 21 | [app] |
---|
| 22 | recipe = zc.zope3recipes>=0.5.3:application |
---|
| 23 | eggs = waeup |
---|
| 24 | site.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 | |
---|
[4586] | 43 | <grant permission="zope.View" |
---|
| 44 | principal="zope.Authenticated" /> |
---|
| 45 | <grant permission="zope.app.dublincore.view" |
---|
| 46 | principal="zope.Authenticated" /> |
---|
| 47 | |
---|
[3516] | 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 | <role id="zope.Manager" title="Site Manager" /> |
---|
| 56 | <role id="zope.Member" title="Site Member" /> |
---|
| 57 | <grantAll role="zope.Manager" /> |
---|
| 58 | <grant role="zope.Manager" |
---|
| 59 | principal="zope.manager" /> |
---|
| 60 | </configure> |
---|
| 61 | |
---|
| 62 | [data] |
---|
| 63 | recipe = zc.recipe.filestorage |
---|
| 64 | |
---|
| 65 | # this section named so that the start/stop script is called bin/zopectl |
---|
| 66 | [zopectl] |
---|
| 67 | recipe = zc.zope3recipes:instance |
---|
| 68 | application = app |
---|
| 69 | zope.conf = ${data:zconfig} |
---|
| 70 | |
---|
| 71 | [test] |
---|
| 72 | recipe = zc.recipe.testrunner |
---|
| 73 | eggs = waeup |
---|
| 74 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
| 75 | |
---|
[4354] | 76 | # Collect test coverage data. |
---|
| 77 | [coverage-detect] |
---|
| 78 | recipe = zc.recipe.testrunner |
---|
| 79 | eggs = waeup |
---|
| 80 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 81 | |
---|
| 82 | # Create a coverage report. |
---|
| 83 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 84 | # first! |
---|
| 85 | [coverage-report] |
---|
| 86 | recipe = zc.recipe.egg |
---|
| 87 | eggs = z3c.coverage |
---|
| 88 | scripts = coverage |
---|
[4358] | 89 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:parts-directory}/coverage-detect/coverage/report') |
---|
[4354] | 90 | |
---|
| 91 | |
---|
| 92 | |
---|
[3516] | 93 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 94 | [i18n] |
---|
| 95 | recipe = lovely.recipe:i18n |
---|
| 96 | package = waeup |
---|
| 97 | domain = waeup |
---|
| 98 | location = src/waeup |
---|
| 99 | output = locales |
---|
[4270] | 100 | |
---|
[4285] | 101 | [waeupdocs] |
---|
[4270] | 102 | recipe = z3c.recipe.sphinxdoc |
---|
[4286] | 103 | eggs = waeup [docs] |
---|
| 104 | default.css = |
---|
| 105 | layout.html = |
---|
[4354] | 106 | |
---|