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
We currently patch setuptools itself to not import distutils.msvc9compiler,
which fails because it fails to detect the msvc version and falls back to an unsupported
version 6 and raises.
This doesn't help much in case setuptools is installed through pip which doesn't contain
the fix.
This fixes msvc9compiler.py instead to not fail on import but at the compiler instance creation,
i.e. the point where the version is actually used. The setuptools fix remains for now to make
updates easier.
Fixes#5155
When using pacman to install packages, the --root option can be set to
install them to an alternative location. The current install scripts
don't take this in to account which causes no such file or directory
errors. This modifies the sed command to use the full prefix path
when renaming the shebang.
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Remove vendered packages and rely upon packages we have.
added makedepends that match package package dependencies
Fix shebang in easy_install.
Add some lines from Arch. See comments.
* python-setuptools - 40.6.2 -
Update to new version
fix easy-install script
fix some dependencies that are listed in requirements.txt including certifi and winse
* Make wincertstore and certifi optdepends for the individual packages. You should still use those two packages to make setuptools.