[3516] | 1 | [buildout] |
---|
| 2 | develop = . |
---|
[5495] | 3 | parts = |
---|
| 4 | eggbasket |
---|
| 5 | app |
---|
| 6 | i18n |
---|
| 7 | test |
---|
| 8 | mkdirs |
---|
| 9 | zpasswd |
---|
| 10 | zope_conf |
---|
| 11 | site_zcml |
---|
| 12 | zdaemon_conf |
---|
| 13 | deploy_ini |
---|
| 14 | debug_ini |
---|
| 15 | waeupdocs |
---|
| 16 | coverage-detect |
---|
| 17 | coverage-report |
---|
[5503] | 18 | # sirpctl creation must be _after_ app! |
---|
| 19 | sirpctl |
---|
[5495] | 20 | # For backward compatibility, telling buildout not to throw away |
---|
| 21 | # the data and log subdirectories from the parts directory. |
---|
| 22 | data |
---|
| 23 | log |
---|
[5660] | 24 | # newest = false |
---|
[5495] | 25 | |
---|
| 26 | #extends = versions.cfg |
---|
[5328] | 27 | extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg |
---|
[5495] | 28 | # eggs will be installed in the default buildout location |
---|
| 29 | # (see .buildout/default.cfg in your home directory) |
---|
| 30 | # unless you specify an eggs-directory option here. |
---|
| 31 | |
---|
[3516] | 32 | versions = versions |
---|
| 33 | |
---|
[4789] | 34 | [versions] |
---|
[6287] | 35 | collective.recipe.sphinxbuilder = 0.7.0 |
---|
[6349] | 36 | hurry.workflow = 0.11 |
---|
[6287] | 37 | # Pinned to circumvent breakage in 0.4.x |
---|
| 38 | hurry.zoperesource = 0.6 |
---|
| 39 | # Pinned to prevent buildout svn-error. |
---|
| 40 | lovely.recipe = 1.0.0 |
---|
[5058] | 41 | megrok.layout = 1.0.2 |
---|
[6194] | 42 | reportlab = 2.5 |
---|
[6308] | 43 | transaction = 1.1.0 |
---|
[6287] | 44 | z3c.testsetup = 0.6.1 |
---|
[6308] | 45 | zc.buildout = 1.5.0 |
---|
| 46 | zc.recipe.egg = 1.3.0 |
---|
| 47 | zc.recipe.testrunner = 1.4.0 |
---|
| 48 | zope.app.testing = 3.8.1 |
---|
[6287] | 49 | # for support of @provider directive |
---|
| 50 | zope.interface = 3.6.3 |
---|
| 51 | # for support of contextual default values |
---|
| 52 | zope.schema = 3.8.0 |
---|
[6308] | 53 | zope.testing = 3.10.2 |
---|
[6287] | 54 | zope.xmlpickle = 3.4.0 |
---|
| 55 | # Require latest version... |
---|
| 56 | Sphinx = |
---|
[6308] | 57 | ZODB3 = 3.10.3 |
---|
[4789] | 58 | |
---|
[3516] | 59 | [app] |
---|
[5503] | 60 | # This creates all scripts in bin/. The sirpctl created here is 'faulty'. |
---|
[5495] | 61 | recipe = zc.recipe.egg |
---|
[4919] | 62 | eggs = waeup.sirp |
---|
[5495] | 63 | z3c.evalexception>=2.0 |
---|
| 64 | Paste |
---|
| 65 | PasteScript |
---|
| 66 | PasteDeploy |
---|
| 67 | interpreter = python-console |
---|
[3516] | 68 | |
---|
[5503] | 69 | [sirpctl] |
---|
| 70 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[6287] | 71 | # Here we create the sirpctl script again, this time with a |
---|
[5503] | 72 | # fixed path to zdaemon.conf as argument. |
---|
| 73 | recipe = zc.recipe.egg |
---|
| 74 | eggs = waeup.sirp |
---|
| 75 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
| 76 | scripts = sirpctl=sirpctl |
---|
| 77 | |
---|
[5495] | 78 | [mkdirs] |
---|
| 79 | recipe = z3c.recipe.mkdir |
---|
| 80 | paths = |
---|
| 81 | ${zope_conf:filestorage} |
---|
| 82 | ${zope_conf:logfiles} |
---|
| 83 | ${zope_conf:blobstorage} |
---|
[4789] | 84 | |
---|
[5495] | 85 | [test] |
---|
| 86 | recipe = zc.recipe.testrunner |
---|
[5855] | 87 | eggs = waeup.sirp [test] |
---|
[5495] | 88 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 89 | |
---|
[5495] | 90 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 91 | [i18n] |
---|
| 92 | recipe = z3c.recipe.i18n:i18n |
---|
| 93 | packages = waeup.sirp |
---|
| 94 | eggs = waeup.sirp |
---|
| 95 | domain = waeup.sirp |
---|
| 96 | output = src/waeup/sirp/locales |
---|
| 97 | zcml = |
---|
[4789] | 98 | |
---|
[5495] | 99 | # This section is named so that the zpasswd utility is |
---|
| 100 | # called `zpasswd` |
---|
| 101 | [zpasswd] |
---|
| 102 | recipe = z3c.recipe.dev:script |
---|
| 103 | eggs = waeup.sirp |
---|
| 104 | module = zope.app.server.zpasswd |
---|
| 105 | method = main |
---|
[3516] | 106 | |
---|
[5495] | 107 | [zope_conf] |
---|
| 108 | recipe = collective.recipe.template |
---|
| 109 | input = etc/zope.conf.in |
---|
| 110 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 111 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 112 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 113 | logfiles = ${buildout:directory}/var/log |
---|
| 114 | extra = |
---|
| 115 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 116 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 117 | |
---|
| 118 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 119 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 120 | # that contain the Data.fs and the log files. These files should be |
---|
| 121 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 122 | [data] |
---|
| 123 | recipe = zc.recipe.filestorage |
---|
| 124 | |
---|
[5495] | 125 | [log] |
---|
| 126 | recipe = zc.recipe.filestorage |
---|
[3516] | 127 | |
---|
[5495] | 128 | [site_zcml] |
---|
| 129 | recipe = collective.recipe.template |
---|
| 130 | input = etc/site.zcml.in |
---|
| 131 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 132 | |
---|
[5495] | 133 | [zdaemon_conf] |
---|
| 134 | recipe = collective.recipe.template |
---|
| 135 | input = etc/zdaemon.conf.in |
---|
| 136 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 137 | |
---|
| 138 | [deploy_ini] |
---|
| 139 | recipe = collective.recipe.template |
---|
| 140 | input = etc/deploy.ini.in |
---|
| 141 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 142 | |
---|
| 143 | [debug_ini] |
---|
| 144 | recipe = collective.recipe.template |
---|
| 145 | input = etc/debug.ini.in |
---|
| 146 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 147 | |
---|
| 148 | [eggbasket] |
---|
| 149 | recipe = z3c.recipe.eggbasket |
---|
| 150 | eggs = grok |
---|
| 151 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 152 | |
---|
| 153 | [waeupdocs] |
---|
| 154 | recipe = collective.recipe.sphinxbuilder |
---|
[5634] | 155 | eggs = waeup.sirp[docs] |
---|
[5495] | 156 | source = ${buildout:directory}/docs/source |
---|
| 157 | build = ${buildout:directory}/docs/build |
---|
| 158 | |
---|
[4789] | 159 | # Collect test coverage data. |
---|
| 160 | [coverage-detect] |
---|
| 161 | recipe = zc.recipe.testrunner |
---|
[4919] | 162 | eggs = waeup.sirp |
---|
[4789] | 163 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 164 | |
---|
| 165 | # Create a coverage report. |
---|
| 166 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 167 | # first! |
---|
| 168 | [coverage-report] |
---|
| 169 | recipe = zc.recipe.egg |
---|
| 170 | eggs = z3c.coverage |
---|
[5226] | 171 | scripts = coveragereport |
---|
| 172 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') |
---|