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