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:
10
debian/python-wxgtk.postinst
vendored
10
debian/python-wxgtk.postinst
vendored
@@ -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#
|
||||
|
||||
Reference in New Issue
Block a user