MINGW-packages/mingw-w64-python-pip/0001-use-system-distlib.patch
Naveen M K d641d37f5b
distlib: build executables from source
python-pip: depend directly on distlib
2021-05-24 01:34:01 +05:30

12 lines
536 B
Diff

--- pip-21.1.1/src/pip/_vendor/__init__.py.orig 2021-05-23 16:02:55.105064300 +0530
+++ pip-21.1.1/src/pip/_vendor/__init__.py 2021-05-23 16:10:22.105230100 +0530
@@ -46,6 +46,8 @@
base, head = vendored_name.rsplit(".", 1)
setattr(sys.modules[base], head, sys.modules[modulename])
+# Use system distlib rather than the one vendored.
+vendored("distlib")
# If we're operating in a debundled setup, then we want to go ahead and trigger
# the aliasing of our vendored libraries as well as looking for wheels to add