home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / Languages / Python / python-14-src / Contrib / NeXT / Python-bin.post_install.in < prev    next >
Encoding:
Text File  |  1997-01-17  |  339 b   |  11 lines

  1. #!/bin/sh
  2. PACKAGE=$1
  3. INSTALLDIR=$2
  4. echo
  5. librarydir=$INSTALLDIR/lib/python@PYTHON_VERSION@
  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.