From 010ccc19dc86ee10c13e8d48f19df481b75e1e17 Mon Sep 17 00:00:00 2001 From: helenyao Date: Mon, 5 Dec 2016 21:41:07 -0500 Subject: Get rid of easy_install in unit test JIRA: FUNCTEST-638 Pip is a better alternative to Easy Install for installing Python packages. There is no need to install easy_install. Change-Id: I3dee17a800d11907c7f0942bff251a93675978bb Signed-off-by: helenyao --- run_unit_tests.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/run_unit_tests.sh b/run_unit_tests.sh index 05b3c4ee..ecd57d8a 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -41,14 +41,10 @@ virtualenv $WORKSPACE/functest_venv source $WORKSPACE/functest_venv/bin/activate # install python packages -easy_install -U setuptools -easy_install -U pip +sudo apt-get install -y build-essential python-dev python-pip +pip install --upgrade pip pip install -r $WORKSPACE/test-requirements.txt - - -pip install -e $WORKSPACE - -python $WORKSPACE/setup.py develop +pip install $WORKSPACE export CONFIG_FUNCTEST_YAML=$(pwd)/functest/ci/config_functest.yaml # unit tests -- cgit 1.2.3-korg