[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 |
---|
[4400] | 6 | extends= http://grok.zope.org/releaseinfo/grok-1.0a4.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 |
---|
[3834] | 18 | |
---|
[4566] | 19 | |
---|
[3516] | 20 | [app] |
---|
| 21 | recipe = zc.zope3recipes>=0.5.3:application |
---|
| 22 | eggs = waeup |
---|
| 23 | site.zcml = <include package="waeup" /> |
---|
| 24 | <include package="zope.app.twisted" /> |
---|
| 25 | |
---|
| 26 | <configure i18n_domain="waeup"> |
---|
| 27 | <unauthenticatedPrincipal id="zope.anybody" |
---|
| 28 | title="Unauthenticated User" /> |
---|
| 29 | <unauthenticatedGroup id="zope.Anybody" |
---|
| 30 | title="Unauthenticated Users" /> |
---|
| 31 | <authenticatedGroup id="zope.Authenticated" |
---|
| 32 | title="Authenticated Users" /> |
---|
| 33 | <everybodyGroup id="zope.Everybody" |
---|
| 34 | title="All Users" /> |
---|
| 35 | <principal id="zope.manager" |
---|
| 36 | title="Manager" |
---|
| 37 | login="grok" |
---|
| 38 | password_manager="Plain Text" |
---|
| 39 | password="grok" |
---|
| 40 | /> |
---|
| 41 | |
---|
| 42 | <!-- Replace the following directive if you don't want |
---|
| 43 | public access --> |
---|
| 44 | <grant permission="zope.View" |
---|
| 45 | principal="zope.Anybody" /> |
---|
| 46 | <grant permission="zope.app.dublincore.view" |
---|
| 47 | principal="zope.Anybody" /> |
---|
| 48 | |
---|
| 49 | <role id="zope.Manager" title="Site Manager" /> |
---|
| 50 | <role id="zope.Member" title="Site Member" /> |
---|
| 51 | <grantAll role="zope.Manager" /> |
---|
| 52 | <grant role="zope.Manager" |
---|
| 53 | principal="zope.manager" /> |
---|
| 54 | </configure> |
---|
| 55 | |
---|
| 56 | [data] |
---|
| 57 | recipe = zc.recipe.filestorage |
---|
| 58 | |
---|
| 59 | # this section named so that the start/stop script is called bin/zopectl |
---|
| 60 | [zopectl] |
---|
| 61 | recipe = zc.zope3recipes:instance |
---|
| 62 | application = app |
---|
| 63 | zope.conf = ${data:zconfig} |
---|
| 64 | |
---|
| 65 | [test] |
---|
| 66 | recipe = zc.recipe.testrunner |
---|
| 67 | eggs = waeup |
---|
| 68 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
| 69 | |
---|
[4354] | 70 | # Collect test coverage data. |
---|
| 71 | [coverage-detect] |
---|
| 72 | recipe = zc.recipe.testrunner |
---|
| 73 | eggs = waeup |
---|
| 74 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 75 | |
---|
| 76 | # Create a coverage report. |
---|
| 77 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 78 | # first! |
---|
| 79 | [coverage-report] |
---|
| 80 | recipe = zc.recipe.egg |
---|
| 81 | eggs = z3c.coverage |
---|
| 82 | scripts = coverage |
---|
[4358] | 83 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:parts-directory}/coverage-detect/coverage/report') |
---|
[4354] | 84 | |
---|
| 85 | |
---|
| 86 | |
---|
[3516] | 87 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 88 | [i18n] |
---|
| 89 | recipe = lovely.recipe:i18n |
---|
| 90 | package = waeup |
---|
| 91 | domain = waeup |
---|
| 92 | location = src/waeup |
---|
| 93 | output = locales |
---|
[4270] | 94 | |
---|
[4285] | 95 | [waeupdocs] |
---|
[4270] | 96 | recipe = z3c.recipe.sphinxdoc |
---|
[4286] | 97 | eggs = waeup [docs] |
---|
| 98 | default.css = |
---|
| 99 | layout.html = |
---|
[4354] | 100 | |
---|