home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Languages / python / python-1.4-MIHS-no_headers / Python-bin.pkg / real_post_install < prev    next >
Encoding:
Text File  |  1996-11-13  |  326 b   |  11 lines

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