Files
MINGW-packages/mingw-w64-python-pip/pip3-x86_64.install
Christoph Reiter 43240e5075 python-pip: Make pip.exe the Python 3 version
This moves pip.exe from python2-pip to python3-pip and makes it
the Python 3 version.

See #4950
2019-07-24 22:09:30 +02:00

15 lines
234 B
Plaintext

post_install() {
cd mingw64
local _prefix=$(pwd -W)
cd -
local _it
for _it in pip pip3 pip3.7; do
sed -e "s|/mingw64|${_prefix}|g" \
-i ${_prefix}/bin/${_it}-script.py
done
}
post_upgrade() {
post_install
}