Browse code

move back to editable install for oslo

Now that we don't have namespace packages any more, editable installs
should be fine. This also means that we apply constraints to these
libraries during installation, which is important for future testing.

This is needed in order to be able to easily sanity check
LIBS_FROM_GIT, as then all libs installed from git will have pip urls
with git in them.

Change-Id: I46c3b8f943b97f912eccc7278e3e033ae67e7e31

Sean Dague authored on 2015/09/11 03:01:40
Showing 2 changed files
... ...
@@ -41,7 +41,7 @@ function install_infra {
41 41
     # Install pbr
42 42
     if use_library_from_git "pbr"; then
43 43
         git_clone_by_name "pbr"
44
-        setup_lib "pbr"
44
+        setup_dev_lib "pbr"
45 45
     else
46 46
         # Always upgrade pbr to latest version as we may have pulled it
47 47
         # in via system packages.
... ...
@@ -59,7 +59,7 @@ function _do_install_oslo_lib {
59 59
     local name=$1
60 60
     if use_library_from_git "$name"; then
61 61
         git_clone_by_name "$name"
62
-        setup_lib "$name"
62
+        setup_dev_lib "$name"
63 63
     fi
64 64
 }
65 65