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