1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Update pkg_resources patch.

This commit is contained in:
Dominic Davis-Foster 2021-09-22 22:35:28 +01:00
parent ae6cf66c79
commit f2d29df908
No known key found for this signature in database
GPG key ID: 3DCA8C2F52EC3292

View file

@ -2,16 +2,16 @@ diff --git a/src/pip/_vendor/pkg_resources/__init__.py b/src/pip/_vendor/pkg_res
index a457ff27e..4cd562cf9 100644
--- a/src/pip/_vendor/pkg_resources/__init__.py
+++ b/src/pip/_vendor/pkg_resources/__init__.py
@@ -77,7 +77,7 @@
@@ -77,7 +77,7 @@ except ImportError:
importlib_machinery = None
from . import py31compat
-from pip._vendor import appdirs
+from pip._vendor import platformdirs
from pip._vendor import packaging
__import__('pip._vendor.packaging.version')
__import__('pip._vendor.packaging.specifiers')
@@ -1310,7 +1310,7 @@
-from pkg_resources.extern import appdirs
+from pkg_resources.extern import platformdirs
from pkg_resources.extern import packaging
__import__('pkg_resources.extern.packaging.version')
__import__('pkg_resources.extern.packaging.specifiers')
@@ -1310,7 +1310,7 @@ def get_default_cache():
"""
return (
os.environ.get('PYTHON_EGG_CACHE')