Home | History | Annotate | Download | only in dist

Lines Matching refs:PYTHON

2 # py-compile - Compile a Python program
30 if test -z "$PYTHON"; then
31 PYTHON=python
67 Byte compile some python scripts FILES. Use --destdir to specify any
118 python_major=`$PYTHON -V 2>&1 | sed -e 's/.* //;s/\..*$//;1q'`
120 echo "$me: could not determine $PYTHON major version, guessing 3" >&2
135 $PYTHON -c "
140 sys.stdout.write('Byte-compiling python modules...\n')
155 # this will fail for python < 1.5, but that doesn't matter ...
156 $PYTHON -O -c "
164 sys.stdout.write('Byte-compiling python modules (optimized versions) ...\n')
179 $PYTHON -OO -c "
182 # python<3.5 does not have split files for -O and -OO
187 sys.stdout.write('Byte-compiling python modules (optimized versions) ...\n')