Repository: mesos
Updated Branches:
  refs/heads/master 0e5680c51 -> 75f65bd33


Made sure all Python modules are installed.

The way our build sets up PYTHONPATH it appears to pip as if the
mesos.cli package is already installed when it is only present in some
directory in PYTHONPATH, but not in the installation target location.
pip subsequently skips mesos.cli leading to a broken install where
files required by e.g., mesos-ps are not installed.

Explicitly ignoring installed packages lets us install mesos.cli.

This appears to be due to some change in behavior first occurring with
pip-6.0.1.

Review: https://reviews.apache.org/r/45209/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/75f65bd3
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/75f65bd3
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/75f65bd3

Branch: refs/heads/master
Commit: 75f65bd33539f2426f2ca8d57b318d1653739a14
Parents: 0e5680c
Author: Benjamin Bannier <benjamin.bann...@mesosphere.io>
Authored: Mon Apr 11 14:30:44 2016 +0200
Committer: Bernd Mathiske <be...@mesosphere.io>
Committed: Mon Apr 11 14:30:44 2016 +0200

----------------------------------------------------------------------
 src/Makefile.am | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/75f65bd3/src/Makefile.am
----------------------------------------------------------------------
diff --git a/src/Makefile.am b/src/Makefile.am
index dc8f8e3..a8f6831 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1638,6 +1638,7 @@ install-exec-local:
          PYTHONUSERBASE=$(DESTDIR)$(prefix)                            \
          $(PYTHON) -c "import pip; pip.main()" install                 \
          --user $(pipinstallargs)                                      \
+         --ignore-installed                                            \
          --find-links=file://$(abs_top_builddir)/src/python/dist       \
          $(abs_top_builddir)/src/$$whl;                                \
        done

Reply via email to