fix issue where pip installs library to wrong path

This commit is contained in:
Kenneth Giusti 2015-07-01 14:06:04 -04:00
parent 9cd3a3a047
commit c2433b4c54
1 changed files with 7 additions and 0 deletions

View File

@ -45,6 +45,13 @@ function _get_amqp1_transport_url {
# 1.0 driver
function _install_pyngus {
# Install pyngus client API
if is_fedora; then
# TODO(kgiusti) due to a bug in the way pip installs wheels,
# do not let pip install the proton python bindings as it will
# put them in the wrong path:
# https://github.com/pypa/pip/issues/2940
install_package python-qpid-proton
fi
pip_install_gr pyngus
}