post_install() { | |
cd mingw32 | |
local _prefix=$(pwd -W) | |
cd - | |
local _it | |
for _it in sip-build sip-distinfo sip-install sip-module sip-sdist sip-wheel; do | |
sed -e "s|/mingw32|${_prefix}|g" \ | |
-i ${_prefix}/bin/${_it}-script.py | |
done | |
} | |
post_upgrade() { | |
post_install | |
} |