[Install] Remove redundant getpip variable

Added error message for 'pip install setuptools wheel'

Change-Id: Ia7cb86e837bf98b8b760892b9ed96d4914e3d19a
This commit is contained in:
Anton Studenov 2016-12-06 13:25:02 +03:00
parent 9074a81bd4
commit 0a476d0fbe

View File

@ -426,16 +426,22 @@ __EOF__
cd "${DESTDIR}" && . bin/activate
local getpip="$DESTDIR/get-pip.py"
download - "$getpip" https://bootstrap.pypa.io/get-pip.py | python -\
download - https://bootstrap.pypa.io/get-pip.py | python -\
|| die $EX_PROTOCOL \
"Error while installing python-pip from external source." <<__EOF__
"Error while running get-pip.py" <<__EOF__
The required Python package pip could not be installed.
The required Python package pip could not be installed
in virtualenv.
__EOF__
pip install setuptools wheel
pip install setuptools wheel || die $EX_PROTOCOL \
"Error while running 'pip install setuptools wheel'" <<__EOF__
The required Python package setuptools, wheel could not be installed
in virtualenv.
__EOF__
}
setup_rally_configuration () {