[Python-modules-commits] [python-pip] 03/10: Devendorize wheels and use system built wheels.
Barry Warsaw
barry at moszumanska.debian.org
Mon Nov 28 22:47:12 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 f74962daa477cdc7fd729185710ec9906f58f2ae
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 bee5f5e..7e9da3e 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