home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- PACKAGE=$1
- INSTALLDIR=$2
- echo
- librarydir=$INSTALLDIR/lib/python@PYTHON_VERSION@
- # 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
-