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