Browse Source

fix issue where pip installs library to wrong path

Kenneth Giusti 3 years ago
parent
commit
c2433b4c54
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      devstack/plugin.sh

+ 7
- 0
devstack/plugin.sh View File

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

Loading…
Cancel
Save