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