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