summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches-setuptools/004-site-patch.patch
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2020-10-05 10:34:33 +0300
committerAlexandru Ardelean <ardeleanalex@gmail.com>2020-10-19 11:01:12 +0300
commitcc332fddaa7db1887a123681320b3a767f04fbe6 (patch)
tree429728d967d4b0a3cb99a8a645f5add97e835fa0 /lang/python/python3/patches-setuptools/004-site-patch.patch
parentf2d67dc48ab457846646b2705a53ffff77bb569b (diff)
python3: bump to version 3.9.0
Refreshed patches. Dropped 'patches-setuptools/004-site-patch.patch' Does not apply anymore. Setuptools has removed site.py support: https://github.com/pypa/setuptools/issues/2165 If this is still needed, we may need to re-think it's implementation. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3/patches-setuptools/004-site-patch.patch')
-rw-r--r--lang/python/python3/patches-setuptools/004-site-patch.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/lang/python/python3/patches-setuptools/004-site-patch.patch b/lang/python/python3/patches-setuptools/004-site-patch.patch
deleted file mode 100644
index 279c35284..000000000
--- a/lang/python/python3/patches-setuptools/004-site-patch.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/setuptools/command/easy_install.py
-+++ b/setuptools/command/easy_install.py
-@@ -1324,7 +1324,10 @@ class easy_install(Command):
- return # already did it, or don't need to
-
- sitepy = os.path.join(self.install_dir, "site.py")
-- source = resource_string("setuptools", "site-patch.py")
-+ try:
-+ source = resource_string("setuptools", "site-patch.py")
-+ except FileNotFoundError:
-+ source = resource_string("setuptools", "site-patch.py.txt")
- source = source.decode('utf-8')
- current = ""
-