[Python-modules-commits] [python-pip] 03/08: Devendorize wheels and use system built wheels.

Barry Warsaw barry at moszumanska.debian.org
Thu Feb 25 22:09:48 UTC 2016


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

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

commit 35065c84b9c21c09cc3edf075603663fc5eaf15c
Author: Barry Warsaw <barry at python.org>
Date:   Thu Dec 3 17:24:13 2015 -0500

    Devendorize wheels and use system built wheels.
    
    Patch-Name: debundle.patch
---
 pip/_vendor/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pip/_vendor/__init__.py b/pip/_vendor/__init__.py
index b09a7c3..1cb35a1 100644
--- a/pip/_vendor/__init__.py
+++ b/pip/_vendor/__init__.py
@@ -14,13 +14,13 @@ import sys
 # Downstream redistributors which have debundled our dependencies should also
 # patch this value to be true. This will trigger the additional patching
 # to cause things like "six" to be available as pip.
-DEBUNDLED = False
+DEBUNDLED = True
 
 # By default, look in this directory for a bunch of .whl files which we will
 # add to the beginning of sys.path before attempting to import anything. This
 # is done to support downstream re-distributors like Debian and Fedora who
 # wish to create their own Wheels for our dependencies to aid in debundling.
-WHEEL_DIR = os.path.abspath(os.path.dirname(__file__))
+WHEEL_DIR = os.path.abspath(os.path.join(sys.prefix, 'share', 'python-wheels'))
 
 
 # Define a small helper function to alias our vendored modules to the real ones

-- 
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