[3516] | 1 | [buildout] |
---|
[12831] | 2 | extensions = mr.developer |
---|
[13470] | 3 | auto-checkout = |
---|
[12831] | 4 | sources-dir = sources |
---|
[13470] | 5 | develop = . |
---|
[5495] | 6 | parts = |
---|
| 7 | eggbasket |
---|
| 8 | app |
---|
| 9 | i18n |
---|
| 10 | test |
---|
| 11 | mkdirs |
---|
| 12 | zpasswd |
---|
| 13 | zope_conf |
---|
| 14 | site_zcml |
---|
| 15 | zdaemon_conf |
---|
[11254] | 16 | raw_deploy_ini |
---|
| 17 | raw_debug_ini |
---|
| 18 | themed_deploy_ini |
---|
| 19 | themed_debug_ini |
---|
[7482] | 20 | profile_ini |
---|
[5495] | 21 | waeupdocs |
---|
| 22 | coverage-detect |
---|
| 23 | coverage-report |
---|
[7808] | 24 | # kofactl creation must be _after_ app! |
---|
| 25 | kofactl |
---|
[11254] | 26 | lxml |
---|
| 27 | diazo |
---|
[5495] | 28 | # For backward compatibility, telling buildout not to throw away |
---|
| 29 | # the data and log subdirectories from the parts directory. |
---|
| 30 | data |
---|
| 31 | log |
---|
[5660] | 32 | # newest = false |
---|
[5495] | 33 | |
---|
[8357] | 34 | extends = versions.cfg |
---|
[10106] | 35 | show-picked-versions = true |
---|
[10110] | 36 | update-versions-file = versions.cfg |
---|
[8357] | 37 | |
---|
[15161] | 38 | index = https://pypi.python.org/simple/ |
---|
[11254] | 39 | |
---|
[5495] | 40 | # eggs will be installed in the default buildout location |
---|
| 41 | # (see .buildout/default.cfg in your home directory) |
---|
| 42 | # unless you specify an eggs-directory option here. |
---|
| 43 | |
---|
[12831] | 44 | [sources] |
---|
[13470] | 45 | # None, currently. |
---|
[12831] | 46 | |
---|
[8662] | 47 | [kofa_params] |
---|
| 48 | ## Basic parameters for deployment. |
---|
| 49 | # default is 127.0.0.1 |
---|
| 50 | host = 0.0.0.0 |
---|
| 51 | # default is 8080 |
---|
| 52 | base_port = 8080 |
---|
| 53 | zeo1_port = 8080 |
---|
| 54 | zeo2_port = 8081 |
---|
| 55 | zeo3_port = 8082 |
---|
| 56 | server_port = 8100 |
---|
| 57 | # default 7. Number of pre-opened ZODB threads/client |
---|
| 58 | pool_size = 7 |
---|
| 59 | # default 20MB. Cache size of each client (ZEO only) |
---|
| 60 | client_cache = 20MB |
---|
| 61 | # default 5000. Number of objects cached. |
---|
| 62 | object_cache = 5000 |
---|
| 63 | # number of preopened paster threads, default 10 |
---|
| 64 | threadpool_workers = 10 |
---|
[8796] | 65 | # package to be developed |
---|
| 66 | devel_pkg = waeup.kofa |
---|
[8662] | 67 | |
---|
[3516] | 68 | [app] |
---|
[7808] | 69 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
[5495] | 70 | recipe = zc.recipe.egg |
---|
[11254] | 71 | eggs = waeup.kofa [beaker, diazo] |
---|
[5495] | 72 | z3c.evalexception>=2.0 |
---|
| 73 | Paste |
---|
| 74 | PasteScript |
---|
| 75 | PasteDeploy |
---|
[7482] | 76 | repoze.profile |
---|
[8006] | 77 | ZODB3 |
---|
[5495] | 78 | interpreter = python-console |
---|
[3516] | 79 | |
---|
[7808] | 80 | [kofactl] |
---|
[5503] | 81 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[7808] | 82 | # Here we create the kofactl script again, this time with a |
---|
[5503] | 83 | # fixed path to zdaemon.conf as argument. |
---|
| 84 | recipe = zc.recipe.egg |
---|
[11254] | 85 | eggs = waeup.kofa [beaker, diazo] |
---|
[5503] | 86 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
[7808] | 87 | scripts = kofactl=kofactl |
---|
[5503] | 88 | |
---|
[5495] | 89 | [mkdirs] |
---|
| 90 | recipe = z3c.recipe.mkdir |
---|
| 91 | paths = |
---|
| 92 | ${zope_conf:filestorage} |
---|
| 93 | ${zope_conf:logfiles} |
---|
| 94 | ${zope_conf:blobstorage} |
---|
[7470] | 95 | ${buildout:directory}/var/mailqueue/cur |
---|
| 96 | ${buildout:directory}/var/mailqueue/tmp |
---|
| 97 | ${buildout:directory}/var/mailqueue/new |
---|
[7578] | 98 | ${buildout:directory}/var/datacenter/media |
---|
[7583] | 99 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 100 | |
---|
[5495] | 101 | [test] |
---|
| 102 | recipe = zc.recipe.testrunner |
---|
[7808] | 103 | eggs = waeup.kofa [beaker, test] |
---|
[5495] | 104 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 105 | |
---|
[5495] | 106 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 107 | [i18n] |
---|
| 108 | recipe = z3c.recipe.i18n:i18n |
---|
[7808] | 109 | packages = waeup.kofa |
---|
| 110 | eggs = waeup.kofa |
---|
| 111 | domain = waeup.kofa |
---|
| 112 | output = src/waeup/kofa/locales |
---|
[5495] | 113 | zcml = |
---|
[4789] | 114 | |
---|
[5495] | 115 | # This section is named so that the zpasswd utility is |
---|
| 116 | # called `zpasswd` |
---|
| 117 | [zpasswd] |
---|
| 118 | recipe = z3c.recipe.dev:script |
---|
[7808] | 119 | eggs = waeup.kofa |
---|
[5495] | 120 | module = zope.app.server.zpasswd |
---|
| 121 | method = main |
---|
[3516] | 122 | |
---|
[5495] | 123 | [zope_conf] |
---|
| 124 | recipe = collective.recipe.template |
---|
| 125 | input = etc/zope.conf.in |
---|
| 126 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 127 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 128 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 129 | logfiles = ${buildout:directory}/var/log |
---|
| 130 | extra = |
---|
| 131 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 132 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 133 | |
---|
| 134 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 135 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 136 | # that contain the Data.fs and the log files. These files should be |
---|
| 137 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 138 | [data] |
---|
| 139 | recipe = zc.recipe.filestorage |
---|
| 140 | |
---|
[5495] | 141 | [log] |
---|
| 142 | recipe = zc.recipe.filestorage |
---|
[3516] | 143 | |
---|
[7470] | 144 | [mailqueue] |
---|
| 145 | recipe = zc.recipe.filestorage |
---|
| 146 | |
---|
[5495] | 147 | [site_zcml] |
---|
| 148 | recipe = collective.recipe.template |
---|
| 149 | input = etc/site.zcml.in |
---|
| 150 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 151 | |
---|
[5495] | 152 | [zdaemon_conf] |
---|
| 153 | recipe = collective.recipe.template |
---|
| 154 | input = etc/zdaemon.conf.in |
---|
| 155 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 156 | |
---|
[11254] | 157 | [raw_debug_ini] |
---|
[5495] | 158 | recipe = collective.recipe.template |
---|
[11254] | 159 | input = etc/raw/debug.ini.in |
---|
| 160 | output = ${buildout:parts-directory}/etc/raw-debug.ini |
---|
[5495] | 161 | |
---|
[11254] | 162 | [raw_deploy_ini] |
---|
[5495] | 163 | recipe = collective.recipe.template |
---|
[11254] | 164 | input = etc/raw/deploy.ini.in |
---|
| 165 | output = ${buildout:parts-directory}/etc/raw-deploy.ini |
---|
[5495] | 166 | |
---|
[11254] | 167 | [themed_debug_ini] |
---|
| 168 | recipe = collective.recipe.template |
---|
| 169 | input = etc/themed/debug.ini.in |
---|
| 170 | output = ${buildout:parts-directory}/etc/themed-debug.ini |
---|
| 171 | |
---|
| 172 | [themed_deploy_ini] |
---|
| 173 | recipe = collective.recipe.template |
---|
| 174 | input = etc/themed/deploy.ini.in |
---|
| 175 | output = ${buildout:parts-directory}/etc/themed-deploy.ini |
---|
| 176 | |
---|
[7482] | 177 | [profile_ini] |
---|
| 178 | recipe = collective.recipe.template |
---|
| 179 | input = etc/profile.ini.in |
---|
| 180 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 181 | |
---|
[5495] | 182 | [eggbasket] |
---|
| 183 | recipe = z3c.recipe.eggbasket |
---|
| 184 | eggs = grok |
---|
| 185 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 186 | |
---|
| 187 | [waeupdocs] |
---|
| 188 | recipe = collective.recipe.sphinxbuilder |
---|
[7808] | 189 | eggs = waeup.kofa[docs] |
---|
[5495] | 190 | source = ${buildout:directory}/docs/source |
---|
| 191 | build = ${buildout:directory}/docs/build |
---|
| 192 | |
---|
[4789] | 193 | # Collect test coverage data. |
---|
| 194 | [coverage-detect] |
---|
| 195 | recipe = zc.recipe.testrunner |
---|
[7808] | 196 | eggs = waeup.kofa[beaker] |
---|
[4789] | 197 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 198 | |
---|
| 199 | # Create a coverage report. |
---|
| 200 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 201 | # first! |
---|
| 202 | [coverage-report] |
---|
| 203 | recipe = zc.recipe.egg |
---|
| 204 | eggs = z3c.coverage |
---|
[5226] | 205 | scripts = coveragereport |
---|
[13074] | 206 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') |
---|
[11254] | 207 | |
---|
| 208 | [lxml] |
---|
| 209 | recipe = z3c.recipe.staticlxml |
---|
| 210 | egg = lxml |
---|
| 211 | |
---|
| 212 | [diazo] |
---|
| 213 | recipe = zc.recipe.egg |
---|
| 214 | eggs = |
---|
| 215 | diazo [wsgi] |
---|
| 216 | PasteScript |
---|
| 217 | waeup.kofa [beaker,diazo] |
---|