diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-01-18 08:13:23 -0800 |
|---|---|---|
| committer | Jon Dufresne <jon.dufresne@gmail.com> | 2020-02-16 09:33:32 -0800 |
| commit | b3de7989665740cd4218d7d814e719d90e75de73 (patch) | |
| tree | d805a67fc0f5ff68e26c806191f8d74b88709af3 /setuptools/build_meta.py | |
| parent | 43edec2506f901ab939390951383025682448edd (diff) | |
| download | python-setuptools-git-b3de7989665740cd4218d7d814e719d90e75de73.tar.gz | |
Remove pkg_resources.py31compat.makedirs() in favor of the stdlib
As setuptools is now python 3.5+, this compatibility shim is no longer
necessary.
Diffstat (limited to 'setuptools/build_meta.py')
| -rw-r--r-- | setuptools/build_meta.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/setuptools/build_meta.py b/setuptools/build_meta.py index a1c951cf..46266814 100644 --- a/setuptools/build_meta.py +++ b/setuptools/build_meta.py @@ -38,7 +38,6 @@ import distutils from setuptools.py31compat import TemporaryDirectory from pkg_resources import parse_requirements -from pkg_resources.py31compat import makedirs __all__ = ['get_requires_for_build_sdist', 'get_requires_for_build_wheel', @@ -190,7 +189,7 @@ class _BuildMetaBackend(object): result_directory = os.path.abspath(result_directory) # Build in a temporary directory, then copy to the target. - makedirs(result_directory, exist_ok=True) + os.makedirs(result_directory, exist_ok=True) with TemporaryDirectory(dir=result_directory) as tmp_dist_dir: sys.argv = (sys.argv[:1] + setup_command + ['--dist-dir', tmp_dist_dir] + |
