use our own hostpython and not the system one, to generate valid pyo files. closes #2
This commit is contained in:
parent
bffb033e9f
commit
b70106c280
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ echo "-> Copy the new source"
|
||||||
try cp -a $SRCDIR $YOURAPPDIR
|
try cp -a $SRCDIR $YOURAPPDIR
|
||||||
|
|
||||||
echo "-> Compile to pyo"
|
echo "-> Compile to pyo"
|
||||||
python -OO -m compileall $YOURAPPDIR
|
$TMPROOT/Python-$PYTHON_VERSION/hostpython -OO -m compileall $YOURAPPDIR
|
||||||
|
|
||||||
echo "-> Remove unused files (pyc, py)"
|
echo "-> Remove unused files (pyc, py)"
|
||||||
find $YOURAPPDIR -iname '*.py' -exec rm {} \;
|
find $YOURAPPDIR -iname '*.py' -exec rm {} \;
|
||||||
|
|
Loading…
Reference in a new issue