forked from senaite/senaite.sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildout.cfg
146 lines (124 loc) · 3.12 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[buildout]
parts =
instance
lxml
test
write_code_headers
write_contributors
robot
code-analysis
coverage
test-coverage
dependencychecker
omelette
i18ndude
extends =
http://dist.plone.org/release/4.3.15/versions.cfg
find-links =
http://dist.plone.org/release/4.3.15
http://dist.plone.org/thirdparty
eggs =
Plone
Pillow
plone.reload
bika.lims
i18ndude
Products.PrintingMailHost
zcml =
versions = versions
extensions = mr.developer
eggs-directory = ${buildout:directory}/eggs
download-cache = ~/.buildout/downloads
sources = sources
auto-checkout = *
develop = .
[sources]
bika.lims = git git://github.com/senaite/bika.lims.git pushurl[email protected]:senaite/bika.lims.git branch=senaite-integration
senaite.api = git git://github.com/senaite/senaite.api.git pushurl[email protected]:senaite/senaite.api.git branch=master
senaite.jsonapi = git git://github.com/senaite/senaite.jsonapi.git pushurl[email protected]:senaite/senaite.jsonapi.git branch=master
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 0.0.0.0:8080
eggs =
senaite.sync
${buildout:eggs}
zcml =
${buildout:zcml}
environment-vars =
zope_i18n_compile_mo_files true
[lxml]
recipe = z3c.recipe.staticlxml
egg = lxml==2.3.6
force = false
static-build = true
[test]
recipe = zc.recipe.testrunner
eggs =
senaite.sync [test]
defaults = ['--auto-color', '--auto-progress']
[write_code_headers]
recipe = collective.recipe.template
output = ${buildout:directory}/bin/write_code_headers
input = ${buildout:directory}/templates/write_code_headers.py.in
mode = 755
[write_contributors]
recipe = collective.recipe.template
output = ${buildout:directory}/bin/write_contributors
input = ${buildout:directory}/templates/write_contributors.py.in
mode = 755
[code-analysis]
recipe = plone.recipe.codeanalysis
directory = ${buildout:directory}/src/senaite/api
clean-lines = True
clean-lines-exclude =
**/node_modules/*
find-untranslated = False
i18ndude-bin = ${buildout:bin-directory}/i18ndude
utf8-header = True
deprecated-aliases = True
flake8-extensions =
flake8-blind-except
flake8-coding
flake8-debugger
flake8-ignore = E241,E301,E501
multiprocessing = True
return-status-codes = False
[coverage]
recipe = zc.recipe.egg
eggs = coverage
[test-coverage]
recipe = collective.recipe.template
input = inline:
#!/bin/bash
export TZ=UTC
${buildout:directory}/bin/coverage run bin/test $*
${buildout:directory}/bin/coverage html
${buildout:directory}/bin/coverage report -m --fail-under=80
# Fail (exit status 1) if coverage returns exit status 2 (this happens
# when test coverage is below 100%.
output = ${buildout:directory}/bin/test-coverage
mode = 755
[dependencychecker]
recipe = zc.recipe.egg
eggs =
z3c.dependencychecker
scripts = dependencychecker
[robot]
recipe = zc.recipe.egg
eggs =
${test:eggs}
plone.app.robotframework
scripts =
robot-server
robot
[omelette]
recipe = collective.recipe.omelette
eggs = ${buildout:eggs}
[i18ndude]
unzip = true
recipe = zc.recipe.egg
eggs = i18ndude
[versions]
setuptools =
zc.buildout =