Final build tweaks for 2.8.10.1 needed to compensate for Debian/Ubuntu changes in where the pacakges are installed for Python 2.6

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2009-05-28 17:34:24 +00:00
parent a37af54e73
commit 292500f3f8
4 changed files with 31 additions and 11 deletions

View File

@@ -6,9 +6,13 @@ WXPYTHONDIR="=WXPYDIR"
PYVERS="=PYVERS"
for PY in $PYVERS; do
update-alternatives --install /usr/lib/python$PY/site-packages/wx.pth \
wx-python$PY.pth \
/usr/lib/wx/python$PY/wx=V.pth =PRIO
case $PY in
2.3|2.4|2.5) pylib=/usr/lib/python$PY/site-packages;;
*) pylib=/usr/lib/python$PY/dist-packages;;
esac
mkdir -p $pylib
update-alternatives --install $pylib/wx.pth wx$PY.pth \
/usr/lib/wx/python$PY/wx=V.pth =PRIO
done
#DEBHELPER#