From 0512e20693c0e949e075fd7440ff84030992da58 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Mon, 15 May 2023 23:33:05 +0200 Subject: [PATCH] Replace whole repo with latest content from branch stream-50.1.0-rhel-8.8.0 Content corresponds with RHEL dist-git commit 292cd22 --- .gitignore | 1 - create-site-packages.patch | 17 ----------------- 2 files changed, 18 deletions(-) delete mode 100644 create-site-packages.patch diff --git a/.gitignore b/.gitignore index 0248ea8..2d0179b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -SOURCES/setuptools-50.3.2.zip /setuptools-50.3.2.zip diff --git a/create-site-packages.patch b/create-site-packages.patch deleted file mode 100644 index 60f9795..0000000 --- a/create-site-packages.patch +++ /dev/null @@ -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 -