]> git.phdru.name Git - dotfiles.git/blob - bin/compyleall
Initial import
[dotfiles.git] / bin / compyleall
1 #! /bin/sh
2
3 umask 022
4
5 if [ -z "$PY_VER" ]; then
6    PY_VER="`python -c 'import sys; print sys.version[:3]'`"
7 fi
8
9 PY_PREFIX="`python$PY_VER -c 'import sys; print sys.prefix'`"
10
11 python$PY_VER $PY_PREFIX/lib/python$PY_VER/compileall.py .
12 python$PY_VER -O $PY_PREFIX/lib/python$PY_VER/compileall.py .