get tornado from pip on a fedora git install

This commit is contained in:
Justin Findlay 2016-03-28 10:57:29 -06:00
parent b5be6fed94
commit 6367592fe3

View file

@ -2935,7 +2935,15 @@ install_fedora_git_deps() {
# We're on the develop branch, install whichever tornado is on the requirements file
__REQUIRED_TORNADO="$(grep tornado "${_SALT_GIT_CHECKOUT_DIR}/requirements/base.txt")"
if [ "${__REQUIRED_TORNADO}" != "" ]; then
$FEDORA_PACKAGE_MANAGER install -y python-tornado
__check_pip_allowed "You need to allow pip based installations (-P) in order to install tornado"
# Install pip and pip dependencies
if ! __check_command_exists pip; then
$FEDORA_PACKAGE_MANAGER install -y python-setuptools python-pip gcc python-devel
fi
pip install -U tornado
fi
fi