added python-contrib package.
optimised use of configure cache. determine python install dir automatically. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
13
debian/libwxgtk-python-contrib.postinst
vendored
Normal file
13
debian/libwxgtk-python-contrib.postinst
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
WXPYTHONDIR="/usr/lib/=PY/site-packages/wxPython"
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
python /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
|
||||
python -O /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
Reference in New Issue
Block a user