use our own hostpython and not the system one, to generate valid pyo files. closes #2

This commit is contained in:
Mathieu Virbel 2012-07-19 01:55:25 +02:00
parent bffb033e9f
commit b70106c280

View file

@ -31,7 +31,7 @@ echo "-> Copy the new source"
try cp -a $SRCDIR $YOURAPPDIR
echo "-> Compile to pyo"
python -OO -m compileall $YOURAPPDIR
$TMPROOT/Python-$PYTHON_VERSION/hostpython -OO -m compileall $YOURAPPDIR
echo "-> Remove unused files (pyc, py)"
find $YOURAPPDIR -iname '*.py' -exec rm {} \;