[3516] | 1 | [buildout] |
---|
[8895] | 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 |
---|
| 20 | deploy_ini |
---|
| 21 | debug_ini |
---|
[8035] | 22 | profile_ini |
---|
[5495] | 23 | waeupdocs |
---|
| 24 | coverage-detect |
---|
| 25 | coverage-report |
---|
[7825] | 26 | # kofactl creation must be _after_ app! |
---|
| 27 | kofactl |
---|
[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 | |
---|
[8360] | 34 | extends = versions.cfg |
---|
| 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 | |
---|
[8895] | 40 | [sources] |
---|
| 41 | waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk |
---|
| 42 | kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk |
---|
| 43 | |
---|
[8773] | 44 | [kofa_params] |
---|
| 45 | ## Basic parameters for deployment. |
---|
| 46 | # default is 127.0.0.1 |
---|
| 47 | host = 0.0.0.0 |
---|
| 48 | # default is 8080 |
---|
| 49 | base_port = 7041 |
---|
| 50 | zeo1_port = 7041 |
---|
| 51 | zeo2_port = 7042 |
---|
| 52 | zeo3_port = 7043 |
---|
| 53 | server_port = 7040 |
---|
| 54 | # default 7. Number of pre-opened ZODB threads/client |
---|
| 55 | pool_size = 7 |
---|
| 56 | # default 20MB. Cache size of each client (ZEO only) |
---|
| 57 | client_cache = 20MB |
---|
| 58 | # default 5000. Number of objects cached. |
---|
| 59 | object_cache = 5000 |
---|
| 60 | # number of preopened paster threads, default 10 |
---|
| 61 | threadpool_workers = 10 |
---|
| 62 | |
---|
[3516] | 63 | [app] |
---|
[7825] | 64 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
[5495] | 65 | recipe = zc.recipe.egg |
---|
[8620] | 66 | eggs = waeup.futminna [beaker] |
---|
[5495] | 67 | z3c.evalexception>=2.0 |
---|
| 68 | Paste |
---|
| 69 | PasteScript |
---|
| 70 | PasteDeploy |
---|
[8035] | 71 | repoze.profile |
---|
| 72 | ZODB3 |
---|
[8895] | 73 | interpreter = python-console |
---|
[3516] | 74 | |
---|
[7825] | 75 | [kofactl] |
---|
[5503] | 76 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[7825] | 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 |
---|
[8620] | 80 | eggs = waeup.futminna [beaker] |
---|
[5503] | 81 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
[7825] | 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} |
---|
[7587] | 90 | ${buildout:directory}/var/datacenter/media |
---|
| 91 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 92 | |
---|
[5495] | 93 | [test] |
---|
| 94 | recipe = zc.recipe.testrunner |
---|
[8620] | 95 | eggs = waeup.futminna [beaker, test] |
---|
[5495] | 96 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 97 | |
---|
[7695] | 98 | # This section named so that the i18n scripts are called bin/i18n... |
---|
[5495] | 99 | [i18n] |
---|
| 100 | recipe = z3c.recipe.i18n:i18n |
---|
[8620] | 101 | packages = waeup.futminna |
---|
| 102 | eggs = waeup.futminna |
---|
| 103 | domain = waeup.futminna |
---|
| 104 | output = src/waeup/futminna/locales |
---|
[5495] | 105 | zcml = |
---|
[4789] | 106 | |
---|
[5495] | 107 | # This section is named so that the zpasswd utility is |
---|
| 108 | # called `zpasswd` |
---|
| 109 | [zpasswd] |
---|
| 110 | recipe = z3c.recipe.dev:script |
---|
[8620] | 111 | eggs = waeup.futminna |
---|
[5495] | 112 | module = zope.app.server.zpasswd |
---|
| 113 | method = main |
---|
[3516] | 114 | |
---|
[5495] | 115 | [zope_conf] |
---|
| 116 | recipe = collective.recipe.template |
---|
| 117 | input = etc/zope.conf.in |
---|
| 118 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 119 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 120 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 121 | logfiles = ${buildout:directory}/var/log |
---|
| 122 | extra = |
---|
| 123 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 124 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 125 | |
---|
| 126 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 127 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 128 | # that contain the Data.fs and the log files. These files should be |
---|
| 129 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 130 | [data] |
---|
| 131 | recipe = zc.recipe.filestorage |
---|
| 132 | |
---|
[5495] | 133 | [log] |
---|
| 134 | recipe = zc.recipe.filestorage |
---|
[3516] | 135 | |
---|
[5495] | 136 | [site_zcml] |
---|
| 137 | recipe = collective.recipe.template |
---|
| 138 | input = etc/site.zcml.in |
---|
| 139 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 140 | |
---|
[5495] | 141 | [zdaemon_conf] |
---|
| 142 | recipe = collective.recipe.template |
---|
| 143 | input = etc/zdaemon.conf.in |
---|
| 144 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 145 | |
---|
| 146 | [deploy_ini] |
---|
| 147 | recipe = collective.recipe.template |
---|
| 148 | input = etc/deploy.ini.in |
---|
| 149 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 150 | |
---|
| 151 | [debug_ini] |
---|
| 152 | recipe = collective.recipe.template |
---|
| 153 | input = etc/debug.ini.in |
---|
| 154 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 155 | |
---|
[8035] | 156 | [profile_ini] |
---|
| 157 | recipe = collective.recipe.template |
---|
| 158 | input = etc/profile.ini.in |
---|
| 159 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 160 | |
---|
[5495] | 161 | [eggbasket] |
---|
| 162 | recipe = z3c.recipe.eggbasket |
---|
| 163 | eggs = grok |
---|
| 164 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 165 | |
---|
| 166 | [waeupdocs] |
---|
| 167 | recipe = collective.recipe.sphinxbuilder |
---|
[8620] | 168 | eggs = waeup.futminna[docs] |
---|
[5495] | 169 | source = ${buildout:directory}/docs/source |
---|
| 170 | build = ${buildout:directory}/docs/build |
---|
| 171 | |
---|
[4789] | 172 | # Collect test coverage data. |
---|
| 173 | [coverage-detect] |
---|
| 174 | recipe = zc.recipe.testrunner |
---|
[8620] | 175 | eggs = waeup.futminna[beaker] |
---|
[4789] | 176 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 177 | |
---|
| 178 | # Create a coverage report. |
---|
| 179 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 180 | # first! |
---|
| 181 | [coverage-report] |
---|
| 182 | recipe = zc.recipe.egg |
---|
| 183 | eggs = z3c.coverage |
---|
[5226] | 184 | scripts = coveragereport |
---|
[6398] | 185 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|