summaryrefslogtreecommitdiffstats
path: root/systems/centos/prepare_python_env.sh
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2019-08-30 00:48:32 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2019-08-30 00:53:15 +0530
commit57dce3c68fb63403be15e20f769ba7c38ba26537 (patch)
tree1c9bb8b6443d4c1d08fe9db9c362be13f34d4851 /systems/centos/prepare_python_env.sh
parent391e5ceb8958eff1f108cc2d589dd3a11c7c48a2 (diff)
Python: Upgrade Python version from 3.4 to 3.6
This patch upgrade python version from 3.4 to 3.6 for the following systems. Centos rhel - 7.2, 7.3 and 7.5 ubuntu For fedora and opensuse - no specific option available. SLES is already using 3.6 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Ib1a1cb04441c8fe53339f7f9a66e0266d6ceefe0
Diffstat (limited to 'systems/centos/prepare_python_env.sh')
-rwxr-xr-xsystems/centos/prepare_python_env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/systems/centos/prepare_python_env.sh b/systems/centos/prepare_python_env.sh
index 108ba1f6..4f5c0065 100755
--- a/systems/centos/prepare_python_env.sh
+++ b/systems/centos/prepare_python_env.sh
@@ -21,8 +21,8 @@ if [ -d "$VSPERFENV_DIR" ] ; then
exit
fi
-scl enable rh-python34 "
-virtualenv "$VSPERFENV_DIR" --python /opt/rh/rh-python34/root/usr/bin/python3
+scl enable rh-python36 "
+virtualenv "$VSPERFENV_DIR" --python /opt/rh/rh-python36/root/usr/bin/python3
source "$VSPERFENV_DIR"/bin/activate
pip install -r ../requirements.txt
"