This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuildout.cfg
90 lines (76 loc) · 1.96 KB
/
buildout.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[buildout]
# mr.developer
extensions = mr.developer
sources = sources
sources-dir = src-mrd
auto-checkout =
# keas.kmi
develop = .
parts = zopepy
test
coverage-test
fast-coverage-test
coverage-report
coverage-diff
coverage
tags
packages
show-picked-versions = true
versions = versions
newest = true
include-site-packages = false
unzip = true
eggs =
cipher.encryptingstorage [test]
[packages]
recipe = collective.recipe.omelette
eggs = ${buildout:eggs}
location = ${buildout:directory}/packages
[zopepy]
recipe = zc.recipe.egg
eggs = ${buildout:eggs}
interpreter = zopepy
scripts = zopepy
[tags]
recipe = z3c.recipe.tag
eggs = ${buildout:eggs}
[test]
recipe = zc.recipe.testrunner
eggs = ${buildout:eggs}
defaults = ['--tests-pattern', '^f?tests$$', '-v']
[coverage-test]
recipe = zc.recipe.testrunner
eggs = ${buildout:eggs}
defaults = ${test:defaults} + ['--coverage', '${buildout:directory}/parts/coverage-test']
[fast-coverage-test]
recipe = zc.recipe.testrunner
eggs = ${buildout:eggs}
coverage
defaults = ${test:defaults}
initialization =
# haaaaack because zc.recipe.testrunner 1.4.0 produces an _insane_ bin/test
# that cannot be run with 'bin/coverage run bin/test'
import coverage, atexit
c = coverage.coverage(data_file='../../../.coverage', source=['z3c.coverage'])
def _when_done(c=c): c.stop(), c.save()
atexit.register(_when_done)
c.start()
[coverage-report]
recipe = zc.recipe.egg
eggs = z3c.coverage
scripts = coveragereport=coverage-report
arguments = sys.argv[1:] or ['${buildout:directory}/parts/coverage-test', '${buildout:directory}/parts/coverage-test/report']
[coverage-diff]
recipe = zc.recipe.egg
eggs = z3c.coverage
scripts = coveragediff=coverage-diff
[coverage]
recipe = zc.recipe.egg
eggs = coverage
[sources]
keas.kmi = git https://github.com/zopefoundation/keas.kmi.git
[versions]
zc.buildout = 2.12.0
setuptools = 38.2.3
# venusian 3.0.0. is Python 3 only
venusian = 2.1.0