Add back python2-setuptools
This adds back a python 2 version of setuptools but with all dependencies vendored (the upstream default..). To allow users to install Python 2 packages we no longer have in the repo etc which should help them transitioning. This also adds conflicts between py2/3 setuptools because of the esy_install rename. See #4993
This commit is contained in:
13
mingw-w64-python2-setuptools/0001-mingw-python-fix.patch
Normal file
13
mingw-w64-python2-setuptools/0001-mingw-python-fix.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- setuptools-5.4.1/setuptools/command/easy_install.py.orig 2014-02-11 21:11:57.898800000 +0400
|
||||
+++ setuptools-5.4.1/setuptools/command/easy_install.py 2014-02-11 21:41:20.905000000 +0400
|
||||
@@ -1256,8 +1256,8 @@
|
||||
)
|
||||
|
||||
DEFAULT_SCHEME = dict(
|
||||
- install_dir='$base/Lib/site-packages',
|
||||
- script_dir='$base/Scripts',
|
||||
+ install_dir='$base/lib/python$py_version_short/site-packages',
|
||||
+ script_dir='$base/bin',
|
||||
)
|
||||
|
||||
def _expand(self, *attrs):
|
||||
Reference in New Issue
Block a user