[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 |
---|
[5226] | 36 | hurry.workflow = 0.10 |
---|
[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 |
---|
[6287] | 43 | z3c.testsetup = 0.6.1 |
---|
| 44 | # for support of @provider directive |
---|
| 45 | zope.interface = 3.6.3 |
---|
| 46 | # for support of contextual default values |
---|
| 47 | zope.schema = 3.8.0 |
---|
| 48 | zope.xmlpickle = 3.4.0 |
---|
| 49 | # Require latest version... |
---|
| 50 | Sphinx = |
---|
[4789] | 51 | |
---|
[3516] | 52 | [app] |
---|
[5503] | 53 | # This creates all scripts in bin/. The sirpctl created here is 'faulty'. |
---|
[5495] | 54 | recipe = zc.recipe.egg |
---|
[4919] | 55 | eggs = waeup.sirp |
---|
[5495] | 56 | z3c.evalexception>=2.0 |
---|
| 57 | Paste |
---|
| 58 | PasteScript |
---|
| 59 | PasteDeploy |
---|
| 60 | interpreter = python-console |
---|
[3516] | 61 | |
---|
[5503] | 62 | [sirpctl] |
---|
| 63 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[6287] | 64 | # Here we create the sirpctl script again, this time with a |
---|
[5503] | 65 | # fixed path to zdaemon.conf as argument. |
---|
| 66 | recipe = zc.recipe.egg |
---|
| 67 | eggs = waeup.sirp |
---|
| 68 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
| 69 | scripts = sirpctl=sirpctl |
---|
| 70 | |
---|
[5495] | 71 | [mkdirs] |
---|
| 72 | recipe = z3c.recipe.mkdir |
---|
| 73 | paths = |
---|
| 74 | ${zope_conf:filestorage} |
---|
| 75 | ${zope_conf:logfiles} |
---|
| 76 | ${zope_conf:blobstorage} |
---|
[4789] | 77 | |
---|
[5495] | 78 | [test] |
---|
| 79 | recipe = zc.recipe.testrunner |
---|
[5855] | 80 | eggs = waeup.sirp [test] |
---|
[5495] | 81 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 82 | |
---|
[5495] | 83 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 84 | [i18n] |
---|
| 85 | recipe = z3c.recipe.i18n:i18n |
---|
| 86 | packages = waeup.sirp |
---|
| 87 | eggs = waeup.sirp |
---|
| 88 | domain = waeup.sirp |
---|
| 89 | output = src/waeup/sirp/locales |
---|
| 90 | zcml = |
---|
[4789] | 91 | |
---|
[5495] | 92 | # This section is named so that the zpasswd utility is |
---|
| 93 | # called `zpasswd` |
---|
| 94 | [zpasswd] |
---|
| 95 | recipe = z3c.recipe.dev:script |
---|
| 96 | eggs = waeup.sirp |
---|
| 97 | module = zope.app.server.zpasswd |
---|
| 98 | method = main |
---|
[3516] | 99 | |
---|
[5495] | 100 | [zope_conf] |
---|
| 101 | recipe = collective.recipe.template |
---|
| 102 | input = etc/zope.conf.in |
---|
| 103 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 104 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 105 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 106 | logfiles = ${buildout:directory}/var/log |
---|
| 107 | extra = |
---|
| 108 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 109 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 110 | |
---|
| 111 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 112 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 113 | # that contain the Data.fs and the log files. These files should be |
---|
| 114 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 115 | [data] |
---|
| 116 | recipe = zc.recipe.filestorage |
---|
| 117 | |
---|
[5495] | 118 | [log] |
---|
| 119 | recipe = zc.recipe.filestorage |
---|
[3516] | 120 | |
---|
[5495] | 121 | [site_zcml] |
---|
| 122 | recipe = collective.recipe.template |
---|
| 123 | input = etc/site.zcml.in |
---|
| 124 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 125 | |
---|
[5495] | 126 | [zdaemon_conf] |
---|
| 127 | recipe = collective.recipe.template |
---|
| 128 | input = etc/zdaemon.conf.in |
---|
| 129 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 130 | |
---|
| 131 | [deploy_ini] |
---|
| 132 | recipe = collective.recipe.template |
---|
| 133 | input = etc/deploy.ini.in |
---|
| 134 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 135 | |
---|
| 136 | [debug_ini] |
---|
| 137 | recipe = collective.recipe.template |
---|
| 138 | input = etc/debug.ini.in |
---|
| 139 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 140 | |
---|
| 141 | [eggbasket] |
---|
| 142 | recipe = z3c.recipe.eggbasket |
---|
| 143 | eggs = grok |
---|
| 144 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 145 | |
---|
| 146 | [waeupdocs] |
---|
| 147 | recipe = collective.recipe.sphinxbuilder |
---|
[5634] | 148 | eggs = waeup.sirp[docs] |
---|
[5495] | 149 | source = ${buildout:directory}/docs/source |
---|
| 150 | build = ${buildout:directory}/docs/build |
---|
| 151 | |
---|
[4789] | 152 | # Collect test coverage data. |
---|
| 153 | [coverage-detect] |
---|
| 154 | recipe = zc.recipe.testrunner |
---|
[4919] | 155 | eggs = waeup.sirp |
---|
[4789] | 156 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 157 | |
---|
| 158 | # Create a coverage report. |
---|
| 159 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 160 | # first! |
---|
| 161 | [coverage-report] |
---|
| 162 | recipe = zc.recipe.egg |
---|
| 163 | eggs = z3c.coverage |
---|
[5226] | 164 | scripts = coveragereport |
---|
| 165 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') |
---|