Files
MINGW-packages/mingw-w64-python2-setuptools/setuptools2-i686.install
Christoph Reiter aaa5fd8b39 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
2019-12-22 14:55:47 +01:00

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
}