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