diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-06-15 17:16:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 17:16:21 -0400 |
commit | 308314268233cc56e7a8c5870fec75b566230411 (patch) | |
tree | edeb3487129ca81bb859ad168587c9b4fd7f650a /setuptools/command/easy_install.py | |
parent | 55bfb7d86ed09c06db5c40eb2fae37975e2672e6 (diff) | |
parent | b3de7989665740cd4218d7d814e719d90e75de73 (diff) | |
download | external_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 'setuptools/command/easy_install.py')
-rw-r--r-- | setuptools/command/easy_install.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 81526b9a..27b4558b 100644 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -63,7 +63,7 @@ from pkg_resources import ( Distribution, PathMetadata, EggMetadata, WorkingSet, DistributionNotFound, VersionConflict, DEVELOP_DIST, ) -import pkg_resources.py31compat +import pkg_resources __metaclass__ = type @@ -564,7 +564,7 @@ class easy_install(Command): if ok_exists: os.unlink(ok_file) dirname = os.path.dirname(ok_file) - pkg_resources.py31compat.makedirs(dirname, exist_ok=True) + os.makedirs(dirname, exist_ok=True) f = open(pth_file, 'w') except (OSError, IOError): self.cant_write_to_target() |