Replace whole repo with latest content from branch stream-50.1.0-rhel-8.8.0

Content corresponds with RHEL dist-git commit 292cd22
This commit is contained in:
Honza Horak 2023-05-15 23:33:05 +02:00
parent 53e27fb3ca
commit 0512e20693
2 changed files with 0 additions and 18 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/setuptools-50.3.2.zip
/setuptools-50.3.2.zip

View File

@ -1,17 +0,0 @@
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 91c48b3..0c9b0f4 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -446,6 +446,12 @@ class easy_install(Command):
instdir = normalize_path(self.install_dir)
pth_file = os.path.join(instdir, 'easy-install.pth')
+ if not os.path.exists(instdir):
+ try:
+ os.makedirs(instdir)
+ except (OSError, IOError):
+ self.cant_write_to_target()
+
# Is it a configured, PYTHONPATH, implicit, or explicit site dir?
is_site_dir = instdir in self.all_site_dirs