summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2023-04-20 09:52:47 +0100
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2023-04-20 09:52:47 +0100
commit7f2bfb34210dc2ad13f1a6e8681ee1a460c221f8 (patch)
tree545f81dd04d94f74f591baf25e5e76300b181ec7
parentac07f21af8ee73e32448bb0429469b56f412a597 (diff)
downloadpython-setuptools-git-7f2bfb34210dc2ad13f1a6e8681ee1a460c221f8.tar.gz
Use the same naming convention for pyXXcompat files
-rw-r--r--setuptools/command/easy_install.py4
-rw-r--r--setuptools/py312compat.py (renamed from setuptools/_py312compat.py)0
2 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index bf6c964e..3185ee1d 100644
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -62,7 +62,7 @@ from pkg_resources import (
VersionConflict, DEVELOP_DIST,
)
import pkg_resources
-from .. import _py312compat
+from .. import py312compat
from .._path import ensure_directory
from ..extern.jaraco.text import yield_lines
@@ -2291,7 +2291,7 @@ def load_launcher_manifest(name):
def _rmtree(path, ignore_errors=False, onexc=auto_chmod):
- return _py312compat.shutil_rmtree(path, ignore_errors, onexc)
+ return py312compat.shutil_rmtree(path, ignore_errors, onexc)
def current_umask():
diff --git a/setuptools/_py312compat.py b/setuptools/py312compat.py
index a17d5aec..a17d5aec 100644
--- a/setuptools/_py312compat.py
+++ b/setuptools/py312compat.py