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:
parent
ae6cf66c79
commit
f2d29df908
1 changed files with 8 additions and 8 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue