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