-
-
Notifications
You must be signed in to change notification settings - Fork 751
/
Copy pathBUILD
40 lines (39 loc) · 1.14 KB
/
BUILD
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
python_requirements(
name="reqs",
source="requirements-pants.txt",
# module_mapping can be removed once pants is released with
# https://github.com/pantsbuild/pants/pull/17390
module_mapping={
"python-editor": ["editor"],
"python-json-logger": ["pythonjsonlogger"],
"python-statsd": ["statsd"],
"sseclient-py": ["sseclient"],
"oslo.config": ["oslo_config"],
"RandomWords": ["random_words"],
},
overrides={
# flex and stevedore uses pkg_resources w/o declaring the dep
("flex", "stevedore"): {
"dependencies": [
"//:reqs#setuptools",
]
},
# do not use the prance[flex] extra as that pulls in an old version of flex
"prance": {
"dependencies": [
"//:reqs#flex",
]
},
# tooz needs one or more backends (tooz is used by the st2 coordination backend)
"tooz": {
"dependencies": [
"//:reqs#redis",
"//:reqs#zake",
]
},
},
)
python_test_utils(
name="test_utils",
skip_pylint=True,
)