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

Barry Warsaw barry at moszumanska.debian.org
Mon Mar 7 16:25:53 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 66b84750a89f8af441a48adb778c600ccdd2ad7b
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 d0e7b34..9811a3c 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