]>
Commit | Line | Data |
---|---|---|
e0a4aa8a RL |
1 | #!/bin/sh |
2 | ||
3 | set -e | |
4 | ||
8bf4f383 RD |
5 | WXPYTHONDIR="=WXPYDIR" |
6 | PYVERS="=PYVERS" | |
e0a4aa8a RL |
7 | |
8 | if [ "$1" = "configure" ]; then | |
8bf4f383 RD |
9 | for PY in $PYVERS; do |
10 | $PY /usr/lib/$PY/compileall.py -q /usr/lib/$PY/site-pacakges/${WXPYTHONDIR} | |
11 | $PY -O /usr/lib/$PY/compileall.py -q /usr/lib/$PY/site-pacakges/${WXPYTHONDIR} | |
12 | done | |
e0a4aa8a RL |
13 | fi |
14 | ||
8bf4f383 RD |
15 | for PY in $PYVERS; do |
16 | update-alternatives --install /usr/lib/$PY/site-packages/wx.pth wx.pth \ | |
17 | /usr/lib/wx/$PY/wx=V-dbg.pth $(( =PRIO - 10 )) | |
18 | done | |
8bdc4937 | 19 | |
e0a4aa8a RL |
20 | #DEBHELPER# |
21 |