[3516] | 1 | [buildout] |
---|
| 2 | develop = . |
---|
[5495] | 3 | parts = |
---|
| 4 | eggbasket |
---|
| 5 | app |
---|
| 6 | i18n |
---|
| 7 | test |
---|
| 8 | mkdirs |
---|
| 9 | zpasswd |
---|
| 10 | zope_conf |
---|
| 11 | site_zcml |
---|
| 12 | zdaemon_conf |
---|
| 13 | deploy_ini |
---|
| 14 | debug_ini |
---|
[7482] | 15 | profile_ini |
---|
[5495] | 16 | waeupdocs |
---|
| 17 | coverage-detect |
---|
| 18 | coverage-report |
---|
[7808] | 19 | # kofactl creation must be _after_ app! |
---|
| 20 | kofactl |
---|
[5495] | 21 | # For backward compatibility, telling buildout not to throw away |
---|
| 22 | # the data and log subdirectories from the parts directory. |
---|
| 23 | data |
---|
| 24 | log |
---|
[5660] | 25 | # newest = false |
---|
[5495] | 26 | |
---|
[8357] | 27 | extends = versions.cfg |
---|
| 28 | |
---|
[5495] | 29 | # eggs will be installed in the default buildout location |
---|
| 30 | # (see .buildout/default.cfg in your home directory) |
---|
| 31 | # unless you specify an eggs-directory option here. |
---|
| 32 | |
---|
[3516] | 33 | [app] |
---|
[7808] | 34 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
[5495] | 35 | recipe = zc.recipe.egg |
---|
[7808] | 36 | eggs = waeup.kofa [beaker] |
---|
[5495] | 37 | z3c.evalexception>=2.0 |
---|
| 38 | Paste |
---|
| 39 | PasteScript |
---|
| 40 | PasteDeploy |
---|
[7482] | 41 | repoze.profile |
---|
[8006] | 42 | ZODB3 |
---|
[5495] | 43 | interpreter = python-console |
---|
[3516] | 44 | |
---|
[7808] | 45 | [kofactl] |
---|
[5503] | 46 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[7808] | 47 | # Here we create the kofactl script again, this time with a |
---|
[5503] | 48 | # fixed path to zdaemon.conf as argument. |
---|
| 49 | recipe = zc.recipe.egg |
---|
[7808] | 50 | eggs = waeup.kofa [beaker] |
---|
[5503] | 51 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
[7808] | 52 | scripts = kofactl=kofactl |
---|
[5503] | 53 | |
---|
[5495] | 54 | [mkdirs] |
---|
| 55 | recipe = z3c.recipe.mkdir |
---|
| 56 | paths = |
---|
| 57 | ${zope_conf:filestorage} |
---|
| 58 | ${zope_conf:logfiles} |
---|
| 59 | ${zope_conf:blobstorage} |
---|
[7470] | 60 | ${buildout:directory}/var/mailqueue/cur |
---|
| 61 | ${buildout:directory}/var/mailqueue/tmp |
---|
| 62 | ${buildout:directory}/var/mailqueue/new |
---|
[7578] | 63 | ${buildout:directory}/var/datacenter/media |
---|
[7583] | 64 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 65 | |
---|
[5495] | 66 | [test] |
---|
| 67 | recipe = zc.recipe.testrunner |
---|
[7808] | 68 | eggs = waeup.kofa [beaker, test] |
---|
[5495] | 69 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 70 | |
---|
[5495] | 71 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 72 | [i18n] |
---|
| 73 | recipe = z3c.recipe.i18n:i18n |
---|
[7808] | 74 | packages = waeup.kofa |
---|
| 75 | eggs = waeup.kofa |
---|
| 76 | domain = waeup.kofa |
---|
| 77 | output = src/waeup/kofa/locales |
---|
[5495] | 78 | zcml = |
---|
[4789] | 79 | |
---|
[5495] | 80 | # This section is named so that the zpasswd utility is |
---|
| 81 | # called `zpasswd` |
---|
| 82 | [zpasswd] |
---|
| 83 | recipe = z3c.recipe.dev:script |
---|
[7808] | 84 | eggs = waeup.kofa |
---|
[5495] | 85 | module = zope.app.server.zpasswd |
---|
| 86 | method = main |
---|
[3516] | 87 | |
---|
[5495] | 88 | [zope_conf] |
---|
| 89 | recipe = collective.recipe.template |
---|
| 90 | input = etc/zope.conf.in |
---|
| 91 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 92 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 93 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 94 | logfiles = ${buildout:directory}/var/log |
---|
| 95 | extra = |
---|
| 96 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 97 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 98 | |
---|
| 99 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 100 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 101 | # that contain the Data.fs and the log files. These files should be |
---|
| 102 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 103 | [data] |
---|
| 104 | recipe = zc.recipe.filestorage |
---|
| 105 | |
---|
[5495] | 106 | [log] |
---|
| 107 | recipe = zc.recipe.filestorage |
---|
[3516] | 108 | |
---|
[7470] | 109 | [mailqueue] |
---|
| 110 | recipe = zc.recipe.filestorage |
---|
| 111 | |
---|
[5495] | 112 | [site_zcml] |
---|
| 113 | recipe = collective.recipe.template |
---|
| 114 | input = etc/site.zcml.in |
---|
| 115 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 116 | |
---|
[5495] | 117 | [zdaemon_conf] |
---|
| 118 | recipe = collective.recipe.template |
---|
| 119 | input = etc/zdaemon.conf.in |
---|
| 120 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 121 | |
---|
| 122 | [deploy_ini] |
---|
| 123 | recipe = collective.recipe.template |
---|
| 124 | input = etc/deploy.ini.in |
---|
| 125 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 126 | |
---|
| 127 | [debug_ini] |
---|
| 128 | recipe = collective.recipe.template |
---|
| 129 | input = etc/debug.ini.in |
---|
| 130 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 131 | |
---|
[7482] | 132 | [profile_ini] |
---|
| 133 | recipe = collective.recipe.template |
---|
| 134 | input = etc/profile.ini.in |
---|
| 135 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 136 | |
---|
[5495] | 137 | [eggbasket] |
---|
| 138 | recipe = z3c.recipe.eggbasket |
---|
| 139 | eggs = grok |
---|
| 140 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 141 | |
---|
| 142 | [waeupdocs] |
---|
| 143 | recipe = collective.recipe.sphinxbuilder |
---|
[7808] | 144 | eggs = waeup.kofa[docs] |
---|
[5495] | 145 | source = ${buildout:directory}/docs/source |
---|
| 146 | build = ${buildout:directory}/docs/build |
---|
| 147 | |
---|
[4789] | 148 | # Collect test coverage data. |
---|
| 149 | [coverage-detect] |
---|
| 150 | recipe = zc.recipe.testrunner |
---|
[7808] | 151 | eggs = waeup.kofa[beaker] |
---|
[4789] | 152 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 153 | |
---|
| 154 | # Create a coverage report. |
---|
| 155 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 156 | # first! |
---|
| 157 | [coverage-report] |
---|
| 158 | recipe = zc.recipe.egg |
---|
| 159 | eggs = z3c.coverage |
---|
[5226] | 160 | scripts = coveragereport |
---|
[6398] | 161 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|