buildout.cfg 2.71 KB
Newer Older
1
[buildout]
2
extensions = mr.developer
3

4
allow-picked-versions = false
5
develop = .
6 7 8
extends =
    sources.cfg
    versions.cfg
9 10
parts =
    test
11
    scripts
12
    zopepy
13
    alltests
14
    ztktests
15
    allpy
16
    sphinx
17
    checkversions
18
    wsgi
19
    requirements
20 21
sources-dir = develop
auto-checkout =
22

23

24
[test]
25
recipe = zc.recipe.testrunner
26
initialization =
27
    import sys
28
    import warnings
29
    warnings.simplefilter('default')
30
eggs = Zope2
31

32

33
[scripts]
's avatar
committed
34
recipe = zc.recipe.egg
35 36
eggs = Zope2

37

38 39
[zopepy]
recipe = zc.recipe.egg
40
eggs = Zope2
41 42
interpreter = zopepy
scripts = zopepy
43

44

45 46 47
[alltests]
recipe = zc.recipe.testrunner
eggs =
48
    AccessControl
49 50
    Acquisition
    DateTime
51
    DocumentTemplate
52
    ExtensionClass
53
    five.globalrequest
54 55
    Missing
    MultiMapping
56
    Persistence
57
    Products.OFSP
58
    Products.SiteErrorLog
59
    Products.ZCatalog
60
    Products.ZCTextIndex
61
    Record
62
    Zope2
63 64
# RestrictedPython has an optional dependency on DateTime, make sure to run its
# tests with DateTime being available
65 66
    RestrictedPython
    tempstorage
67
    zExceptions
68
    zLOG
69
    ZopeUndo
70
# Test optional dependencies.
71 72 73 74 75
    Products.BTreeFolder2
    Products.ExternalMethod
    Products.MailHost
    Products.PythonScripts
    Products.StandardCacheManagers
76

77

78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
[ztktests]
recipe = zc.recipe.testrunner
eggs =
    zope.annotation
    zope.browser
    zope.browsermenu
    zope.browserpage
    zope.browserresource
    zope.component
    zope.configuration
    zope.container
    zope.contentprovider
    zope.contenttype
    zope.deferredimport
    zope.dottedname
    zope.event
    zope.exceptions
    zope.filerepresentation
    zope.i18n
    zope.i18nmessageid
    zope.interface
    zope.lifecycleevent
    zope.location
    zope.pagetemplate
    zope.ptresource
    zope.proxy
    zope.processlifetime
    zope.publisher
    zope.sendmail
    zope.schema
    zope.security
    zope.sequencesort
    zope.site[test]
    zope.size
    zope.structuredtext
    zope.tal
    zope.tales
    zope.traversing
    zope.testbrowser[test]
    zope.testing
    zope.testrunner
    zope.viewlet


122 123 124 125 126 127 128
[allpy]
recipe = zc.recipe.egg
eggs = ${alltests:eggs}
interpreter = allpy
scripts = allpy


129 130 131 132 133 134 135
[sphinx]
recipe = collective.recipe.sphinxbuilder
build = ${buildout:directory}/docs/_build
source = ${buildout:directory}/docs
outputs = html
script-name = make-docs
extra-paths = ${buildout:directory}
136

137

138 139
[checkversions]
recipe = zc.recipe.egg
Hanno Schlichting's avatar
Hanno Schlichting committed
140
eggs = z3c.checkversions [buildout]
141 142 143 144 145 146 147 148 149 150 151 152 153


[wsgi]
recipe = zc.recipe.egg
interpreter = wsgipy
eggs =
    Zope2
    repoze.who
    repoze.tm2
    repoze.retry
    Paste
    PasteDeploy
    PasteScript
154 155 156 157 158 159 160 161


[requirements]
recipe = plone.recipe.command
command =
    ${zopepy:bin-directory}/${zopepy:interpreter} util.py
update-command = ${:command}
stop-on-error = yes