#!/bin/sh
PACKAGE=$1
INSTALLDIR=$2
echo
librarydir=$INSTALLDIR/lib/python1.4
# The package does not include the compiled scripts, so compile them now.
echo "    Compiling the Python Library Scripts in $librarydir ... "
$INSTALLDIR/bin/python -c "import compileall; compileall.compile_dir ('$librarydir', 3)"
echo "OK."
exit 0
