This adds back a Python 2 version of pip but with all dependencies vendored. In combination with setuptools this allows users to install Python 2 packages from pypi. See #4993
15 lines
230 B
Plaintext
15 lines
230 B
Plaintext
post_install() {
|
|
cd mingw32
|
|
local _prefix=$(pwd -W)
|
|
cd -
|
|
local _it
|
|
for _it in pip2 pip2.7; do
|
|
sed -e "s|/mingw32|${_prefix}|g" \
|
|
-i ${_prefix}/bin/${_it}-script.py
|
|
done
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|