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