2000-02-21 18:02:25 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2007-12-13 18:05:55 -05:00
|
|
|
WXPYTHONDIR="=WXPYDIR"
|
|
|
|
PYVERS="=PYVERS"
|
2000-02-21 18:02:25 -05:00
|
|
|
|
|
|
|
if [ "$1" = "configure" ]; then
|
2007-12-13 18:05:55 -05:00
|
|
|
for PY in $PYVERS; do
|
|
|
|
$PY /usr/lib/$PY/compileall.py -q /usr/lib/$PY/site-pacakges/${WXPYTHONDIR}
|
|
|
|
$PY -O /usr/lib/$PY/compileall.py -q /usr/lib/$PY/site-pacakges/${WXPYTHONDIR}
|
|
|
|
done
|
2000-02-21 18:02:25 -05:00
|
|
|
fi
|
|
|
|
|
2007-12-13 18:05:55 -05:00
|
|
|
for PY in $PYVERS; do
|
|
|
|
update-alternatives --install /usr/lib/$PY/site-packages/wx.pth wx.pth \
|
|
|
|
/usr/lib/wx/$PY/wx=V-dbg.pth $(( =PRIO - 10 ))
|
|
|
|
done
|
2005-12-15 21:12:16 -05:00
|
|
|
|
2000-02-21 18:02:25 -05:00
|
|
|
#DEBHELPER#
|
|
|
|
|