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 <yaohelan@huawei.com>
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