[3516] | 1 | [buildout] |
---|
[8896] | 2 | # See http://pypi.python.org/pypi/mr.developer for details |
---|
| 3 | extensions = mr.developer |
---|
| 4 | auto-checkout = waeup.kofa kofacustom.nigeria |
---|
| 5 | # We cannot use 'src' (the default) as the checked out projects won't |
---|
| 6 | # work properly with paster (paster looks up any upper directory |
---|
| 7 | # egg-info dirs and then complains about not-available packages). |
---|
| 8 | sources-dir = sources |
---|
| 9 | develop = . |
---|
[5495] | 10 | parts = |
---|
| 11 | eggbasket |
---|
| 12 | app |
---|
| 13 | i18n |
---|
| 14 | test |
---|
| 15 | mkdirs |
---|
| 16 | zpasswd |
---|
| 17 | zope_conf |
---|
| 18 | site_zcml |
---|
| 19 | zdaemon_conf |
---|
[11291] | 20 | raw_deploy_ini |
---|
| 21 | raw_debug_ini |
---|
| 22 | themed_deploy_ini |
---|
| 23 | themed_debug_ini |
---|
[8035] | 24 | profile_ini |
---|
[5495] | 25 | coverage-detect |
---|
| 26 | coverage-report |
---|
[7825] | 27 | # kofactl creation must be _after_ app! |
---|
| 28 | kofactl |
---|
[11291] | 29 | lxml |
---|
| 30 | diazo |
---|
[5495] | 31 | # For backward compatibility, telling buildout not to throw away |
---|
| 32 | # the data and log subdirectories from the parts directory. |
---|
| 33 | data |
---|
| 34 | log |
---|
[5660] | 35 | # newest = false |
---|
[5495] | 36 | |
---|
[8360] | 37 | extends = versions.cfg |
---|
[10139] | 38 | show-picked-versions = true |
---|
| 39 | update-versions-file = versions.cfg |
---|
[8360] | 40 | |
---|
[5495] | 41 | # eggs will be installed in the default buildout location |
---|
| 42 | # (see .buildout/default.cfg in your home directory) |
---|
| 43 | # unless you specify an eggs-directory option here. |
---|
| 44 | |
---|
[8896] | 45 | [sources] |
---|
[11292] | 46 | waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk |
---|
[11291] | 47 | kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk |
---|
[8896] | 48 | |
---|
[8771] | 49 | [kofa_params] |
---|
| 50 | ## Basic parameters for deployment. |
---|
| 51 | # default is 127.0.0.1 |
---|
| 52 | host = 0.0.0.0 |
---|
| 53 | # default is 8080 |
---|
[8897] | 54 | base_port = 7021 |
---|
| 55 | zeo1_port = 7021 |
---|
| 56 | zeo2_port = 7022 |
---|
[11291] | 57 | # zeo3_port = 7023 |
---|
[8897] | 58 | server_port = 7020 |
---|
[8771] | 59 | # default 7. Number of pre-opened ZODB threads/client |
---|
| 60 | pool_size = 7 |
---|
| 61 | # default 20MB. Cache size of each client (ZEO only) |
---|
| 62 | client_cache = 20MB |
---|
| 63 | # default 5000. Number of objects cached. |
---|
| 64 | object_cache = 5000 |
---|
| 65 | # number of preopened paster threads, default 10 |
---|
| 66 | threadpool_workers = 10 |
---|
[11291] | 67 | devel_pkg = waeup.aaue |
---|
[8771] | 68 | |
---|
[3516] | 69 | [app] |
---|
[7825] | 70 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
[5495] | 71 | recipe = zc.recipe.egg |
---|
[11291] | 72 | eggs = waeup.aaue [beaker, diazo] |
---|
[5495] | 73 | z3c.evalexception>=2.0 |
---|
| 74 | Paste |
---|
| 75 | PasteScript |
---|
| 76 | PasteDeploy |
---|
[8035] | 77 | repoze.profile |
---|
| 78 | ZODB3 |
---|
[8896] | 79 | interpreter = python-console |
---|
[3516] | 80 | |
---|
[7825] | 81 | [kofactl] |
---|
[5503] | 82 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[7825] | 83 | # Here we create the kofactl script again, this time with a |
---|
[5503] | 84 | # fixed path to zdaemon.conf as argument. |
---|
| 85 | recipe = zc.recipe.egg |
---|
[11291] | 86 | eggs = waeup.aaue [beaker, diazo] |
---|
[5503] | 87 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
[7825] | 88 | scripts = kofactl=kofactl |
---|
[5503] | 89 | |
---|
[5495] | 90 | [mkdirs] |
---|
| 91 | recipe = z3c.recipe.mkdir |
---|
| 92 | paths = |
---|
| 93 | ${zope_conf:filestorage} |
---|
| 94 | ${zope_conf:logfiles} |
---|
| 95 | ${zope_conf:blobstorage} |
---|
[7587] | 96 | ${buildout:directory}/var/datacenter/media |
---|
| 97 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 98 | |
---|
[5495] | 99 | [test] |
---|
| 100 | recipe = zc.recipe.testrunner |
---|
[8446] | 101 | eggs = waeup.aaue [beaker, test] |
---|
[5495] | 102 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 103 | |
---|
[7695] | 104 | # This section named so that the i18n scripts are called bin/i18n... |
---|
[5495] | 105 | [i18n] |
---|
| 106 | recipe = z3c.recipe.i18n:i18n |
---|
[8446] | 107 | packages = waeup.aaue |
---|
| 108 | eggs = waeup.aaue |
---|
| 109 | domain = waeup.aaue |
---|
| 110 | output = src/waeup/aaue/locales |
---|
[5495] | 111 | zcml = |
---|
[4789] | 112 | |
---|
[5495] | 113 | # This section is named so that the zpasswd utility is |
---|
| 114 | # called `zpasswd` |
---|
| 115 | [zpasswd] |
---|
| 116 | recipe = z3c.recipe.dev:script |
---|
[8446] | 117 | eggs = waeup.aaue |
---|
[5495] | 118 | module = zope.app.server.zpasswd |
---|
| 119 | method = main |
---|
[3516] | 120 | |
---|
[5495] | 121 | [zope_conf] |
---|
| 122 | recipe = collective.recipe.template |
---|
| 123 | input = etc/zope.conf.in |
---|
| 124 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 125 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 126 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 127 | logfiles = ${buildout:directory}/var/log |
---|
| 128 | extra = |
---|
| 129 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 130 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 131 | |
---|
| 132 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 133 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 134 | # that contain the Data.fs and the log files. These files should be |
---|
| 135 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 136 | [data] |
---|
| 137 | recipe = zc.recipe.filestorage |
---|
| 138 | |
---|
[5495] | 139 | [log] |
---|
| 140 | recipe = zc.recipe.filestorage |
---|
[3516] | 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 | |
---|
[11291] | 152 | [raw_debug_ini] |
---|
[5495] | 153 | recipe = collective.recipe.template |
---|
[11291] | 154 | input = etc/raw/debug.ini.in |
---|
| 155 | output = ${buildout:parts-directory}/etc/raw-debug.ini |
---|
[5495] | 156 | |
---|
[11291] | 157 | [raw_deploy_ini] |
---|
[5495] | 158 | recipe = collective.recipe.template |
---|
[11291] | 159 | input = etc/raw/deploy.ini.in |
---|
| 160 | output = ${buildout:parts-directory}/etc/raw-deploy.ini |
---|
[5495] | 161 | |
---|
[11291] | 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 | |
---|
[8035] | 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 | |
---|
[4789] | 182 | # Collect test coverage data. |
---|
| 183 | [coverage-detect] |
---|
| 184 | recipe = zc.recipe.testrunner |
---|
[8446] | 185 | eggs = waeup.aaue[beaker] |
---|
[4789] | 186 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 187 | |
---|
| 188 | # Create a coverage report. |
---|
| 189 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 190 | # first! |
---|
| 191 | [coverage-report] |
---|
| 192 | recipe = zc.recipe.egg |
---|
| 193 | eggs = z3c.coverage |
---|
[5226] | 194 | scripts = coveragereport |
---|
[6398] | 195 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|
[11291] | 196 | |
---|
| 197 | [lxml] |
---|
| 198 | recipe = z3c.recipe.staticlxml |
---|
| 199 | egg = lxml |
---|
| 200 | |
---|
| 201 | [diazo] |
---|
| 202 | recipe = zc.recipe.egg |
---|
| 203 | eggs = |
---|
| 204 | diazo [wsgi] |
---|
| 205 | PasteScript |
---|
| 206 | waeup.aaue [beaker, diazo] |
---|