[Python-modules-commits] [python-pip] 02/04: Update the wheel directory when outside a virtualenv.

Barry Warsaw barry at moszumanska.debian.org
Mon Jan 25 20:33:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch dirtbike
in repository python-pip.

commit 0cfc43d1b6b2e70ae1553682a47e29986f626c89
Author: Barry Warsaw <barry at python.org>
Date:   Fri Dec 11 17:13:48 2015 -0500

    Update the wheel directory when outside a virtualenv.
    
    Patch-Name: fix-wheel-dir.patch
---
 pip/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pip/__init__.py b/pip/__init__.py
index f48172b..b654adf 100755
--- a/pip/__init__.py
+++ b/pip/__init__.py
@@ -58,7 +58,7 @@ else:
 if in_venv:
     wheel_dir = os.path.join(sys.prefix, 'lib', 'python-wheels')
 else:
-    wheel_dir = '/usr/share/python-wheels'
+    wheel_dir = '/usr/share/python-pip-common/wheels'
 
 # We'll add all the wheels we find to the front of sys.path so that they're
 # found first, even if the same dependencies are available in site-packages.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pip.git



More information about the Python-modules-commits mailing list