aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources/__init__.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-06-15 17:16:21 -0400
committerGitHub <noreply@github.com>2020-06-15 17:16:21 -0400
commit308314268233cc56e7a8c5870fec75b566230411 (patch)
treeedeb3487129ca81bb859ad168587c9b4fd7f650a /pkg_resources/__init__.py
parent55bfb7d86ed09c06db5c40eb2fae37975e2672e6 (diff)
parentb3de7989665740cd4218d7d814e719d90e75de73 (diff)
downloadexternal_python_setuptools-308314268233cc56e7a8c5870fec75b566230411.tar.gz
external_python_setuptools-308314268233cc56e7a8c5870fec75b566230411.tar.bz2
external_python_setuptools-308314268233cc56e7a8c5870fec75b566230411.zip
Merge pull request #1973 from jdufresne/makedirs
Remove pkg_resources.py31compat.makedirs() in favor of the stdlib
Diffstat (limited to 'pkg_resources/__init__.py')
-rw-r--r--pkg_resources/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index 2e7d5059..2c589d55 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -76,7 +76,6 @@ try:
except ImportError:
importlib_machinery = None
-from . import py31compat
from pkg_resources.extern import appdirs
from pkg_resources.extern import packaging
__import__('pkg_resources.extern.packaging.version')
@@ -3180,7 +3179,7 @@ def _find_adapter(registry, ob):
def ensure_directory(path):
"""Ensure that the parent directory of `path` exists"""
dirname = os.path.dirname(path)
- py31compat.makedirs(dirname, exist_ok=True)
+ os.makedirs(dirname, exist_ok=True)
def _bypass_ensure_directory(path):