2000-02-21 23:02:25 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2007-12-13 23:05:55 +00:00
|
|
|
WXPYTHONDIR="=WXPYDIR"
|
|
|
|
PYVERS="=PYVERS"
|
2000-02-21 23:02:25 +00:00
|
|
|
|
|
|
|
if [ "$1" = "configure" ]; then
|
2007-12-13 23:05:55 +00: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 23:02:25 +00:00
|
|
|
fi
|
|
|
|
|
2007-12-13 23:05:55 +00: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-16 02:12:16 +00:00
|
|
|
|
2000-02-21 23:02:25 +00:00
|
|
|
#DEBHELPER#
|
|
|
|
|