1 | [buildout] |
---|
2 | develop = . |
---|
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 |
---|
18 | # sirpctl creation must be _after_ app! |
---|
19 | sirpctl |
---|
20 | # For backward compatibility, telling buildout not to throw away |
---|
21 | # the data and log subdirectories from the parts directory. |
---|
22 | data |
---|
23 | log |
---|
24 | # newest = false |
---|
25 | |
---|
26 | #extends = versions.cfg |
---|
27 | extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg |
---|
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 | |
---|
32 | versions = versions |
---|
33 | |
---|
34 | [versions] |
---|
35 | collective.recipe.sphinxbuilder = 0.7.0 |
---|
36 | hurry.workflow = 0.11 |
---|
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 |
---|
41 | megrok.layout = 1.0.2 |
---|
42 | reportlab = 2.5 |
---|
43 | transaction = 1.1.0 |
---|
44 | z3c.testsetup = 0.6.1 |
---|
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 |
---|
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 |
---|
53 | zope.testing = 3.10.2 |
---|
54 | zope.xmlpickle = 3.4.0 |
---|
55 | # Require latest version... |
---|
56 | Sphinx = 1.0.7 |
---|
57 | ZODB3 = 3.10.3 |
---|
58 | docutils = 0.7 |
---|
59 | Jinja2 = 2.3 |
---|
60 | |
---|
61 | [app] |
---|
62 | # This creates all scripts in bin/. The sirpctl created here is 'faulty'. |
---|
63 | recipe = zc.recipe.egg |
---|
64 | eggs = waeup.sirp |
---|
65 | z3c.evalexception>=2.0 |
---|
66 | Paste |
---|
67 | PasteScript |
---|
68 | PasteDeploy |
---|
69 | interpreter = python-console |
---|
70 | |
---|
71 | [sirpctl] |
---|
72 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
73 | # Here we create the sirpctl script again, this time with a |
---|
74 | # fixed path to zdaemon.conf as argument. |
---|
75 | recipe = zc.recipe.egg |
---|
76 | eggs = waeup.sirp |
---|
77 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
78 | scripts = sirpctl=sirpctl |
---|
79 | |
---|
80 | [mkdirs] |
---|
81 | recipe = z3c.recipe.mkdir |
---|
82 | paths = |
---|
83 | ${zope_conf:filestorage} |
---|
84 | ${zope_conf:logfiles} |
---|
85 | ${zope_conf:blobstorage} |
---|
86 | |
---|
87 | [test] |
---|
88 | recipe = zc.recipe.testrunner |
---|
89 | eggs = waeup.sirp [test] |
---|
90 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
91 | |
---|
92 | # this section named so that the i18n scripts are called bin/i18n... |
---|
93 | [i18n] |
---|
94 | recipe = z3c.recipe.i18n:i18n |
---|
95 | packages = waeup.sirp |
---|
96 | eggs = waeup.sirp |
---|
97 | domain = waeup.sirp |
---|
98 | output = src/waeup/sirp/locales |
---|
99 | zcml = |
---|
100 | |
---|
101 | # This section is named so that the zpasswd utility is |
---|
102 | # called `zpasswd` |
---|
103 | [zpasswd] |
---|
104 | recipe = z3c.recipe.dev:script |
---|
105 | eggs = waeup.sirp |
---|
106 | module = zope.app.server.zpasswd |
---|
107 | method = main |
---|
108 | |
---|
109 | [zope_conf] |
---|
110 | recipe = collective.recipe.template |
---|
111 | input = etc/zope.conf.in |
---|
112 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
113 | filestorage = ${buildout:directory}/var/filestorage |
---|
114 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
115 | logfiles = ${buildout:directory}/var/log |
---|
116 | extra = |
---|
117 | # extra = <grokwarnings>True</grokwarnings> |
---|
118 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
119 | |
---|
120 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
121 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
122 | # that contain the Data.fs and the log files. These files should be |
---|
123 | # copied to the new locations. See the upgrade notes for more information. |
---|
124 | [data] |
---|
125 | recipe = zc.recipe.filestorage |
---|
126 | |
---|
127 | [log] |
---|
128 | recipe = zc.recipe.filestorage |
---|
129 | |
---|
130 | [site_zcml] |
---|
131 | recipe = collective.recipe.template |
---|
132 | input = etc/site.zcml.in |
---|
133 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
134 | |
---|
135 | [zdaemon_conf] |
---|
136 | recipe = collective.recipe.template |
---|
137 | input = etc/zdaemon.conf.in |
---|
138 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
139 | |
---|
140 | [deploy_ini] |
---|
141 | recipe = collective.recipe.template |
---|
142 | input = etc/deploy.ini.in |
---|
143 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
144 | |
---|
145 | [debug_ini] |
---|
146 | recipe = collective.recipe.template |
---|
147 | input = etc/debug.ini.in |
---|
148 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
149 | |
---|
150 | [eggbasket] |
---|
151 | recipe = z3c.recipe.eggbasket |
---|
152 | eggs = grok |
---|
153 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
154 | |
---|
155 | [waeupdocs] |
---|
156 | recipe = collective.recipe.sphinxbuilder |
---|
157 | eggs = waeup.sirp[docs] |
---|
158 | source = ${buildout:directory}/docs/source |
---|
159 | build = ${buildout:directory}/docs/build |
---|
160 | |
---|
161 | # Collect test coverage data. |
---|
162 | [coverage-detect] |
---|
163 | recipe = zc.recipe.testrunner |
---|
164 | eggs = waeup.sirp |
---|
165 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
166 | |
---|
167 | # Create a coverage report. |
---|
168 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
169 | # first! |
---|
170 | [coverage-report] |
---|
171 | recipe = zc.recipe.egg |
---|
172 | eggs = z3c.coverage |
---|
173 | scripts = coveragereport |
---|
174 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|