provision: Move CentOS & Fedora venv deps construction to setup_venv.py.

They will be reused in production setup.
This commit is contained in:
rht
2018-12-19 01:45:32 +00:00
committed by Tim Abbott
parent 17ffbdabe2
commit c190959b58
2 changed files with 20 additions and 15 deletions

View File

@@ -62,6 +62,20 @@ COMMON_YUM_VENV_DEPENDENCIES = [
"jq",
]
REDHAT_VENV_DEPENDENCIES = COMMON_YUM_VENV_DEPENDENCIES + [
"python34-devel",
"python34-pip",
"python34-six",
"python-virtualenv",
]
FEDORA_VENV_DEPENDENCIES = COMMON_YUM_VENV_DEPENDENCIES + [
"python3-devel",
"python3-pip",
"python3-six",
"virtualenv", # see https://unix.stackexchange.com/questions/27877/install-virtualenv-on-fedora-16
]
codename = parse_lsb_release()["DISTRIB_CODENAME"]
if codename != "trusty":