From 182feb30610500687a67adad2801a4e54bdea7d8 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 13 Jun 2013 08:44:47 -0700 Subject: [PATCH] Fix pip invocation for old versions of pip. Fixes bug 1190749. Change-Id: I91fce8ee1c37f945062e81c1585ee45613e05371 --- pbr/packaging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbr/packaging.py b/pbr/packaging.py index f6cd1b38..66c988c7 100644 --- a/pbr/packaging.py +++ b/pbr/packaging.py @@ -88,7 +88,7 @@ def _pip_install(links, requires, root=None): if root: root_cmd = "--root=%s" % root _run_shell_command( - "%s -m pip install %s %s %s" % ( + "%s -m pip.__init__ install %s %s %s" % ( sys.executable, root_cmd, " ".join(links),