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