Deploy python3 virtualenvs only.

This commit is contained in:
Antoine Nguyen
2019-12-06 12:18:01 +01:00
parent 851a0f2bb1
commit 63c29c34b9
8 changed files with 25 additions and 13 deletions

View File

@@ -60,8 +60,8 @@ def setup_virtualenv(path, sudo_user=None, python_version=2):
packages.append("virtualenv")
else:
if utils.dist_name().startswith("centos"):
python_binary = "python36"
packages = ["python36"]
python_binary = "python3"
packages = ["python3"]
else:
python_binary = "python3"
packages = ["python3-venv"]