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
15 lines
235 B
Plaintext
15 lines
235 B
Plaintext
post_install() {
|
|
cd mingw32
|
|
local _prefix=$(pwd -W)
|
|
cd -
|
|
local _it
|
|
for _it in easy_install-2.7; do
|
|
sed -e "s|/mingw32|${_prefix}|g" \
|
|
-i ${_prefix}/bin/${_it}-script.py
|
|
done
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|