forked from cekit/behave-test-steps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loader.py
48 lines (42 loc) · 1.27 KB
/
loader.py
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
class StepsLoader(object):
@staticmethod
def dependencies(params=None):
deps = {}
# Fedora/EPEL8 is python3-docker
# CentOS 7 / EPEL7 is python36-docker or python-docker-py
deps['python-docker'] = {
'library': 'docker',
'package': 'python3-docker',
'centos7': {
'package': 'python36-docker',
}
}
# Fedora - python3-behave
# EPEL 7 / EPEL 8 : MISSING
deps['behave'] = {
'library': 'behave',
'package': 'python3-behave',
}
# Fedora / EPEL 8 : python3-requests
# EPEL 7 : python36-requests
deps['requests'] = {
'library': 'requests',
'package': 'python3-requests',
'centos7': {
'package': 'python36-requests',
}
}
# Fedora / EPEL 8 : python3-lxml
# EPEL 7 : python36-lxml
deps['lxml'] = {
'library': 'lxml',
'package': 'python2-lxml',
'centos7': {
'package': 'python36-lxml',
}
}
deps['s2i'] = {
'executable': 's2i',
'package': 'https://github.com/openshift/source-to-image'
}
return deps