Commit f482d236 authored by Laurent Bachelier's avatar Laurent Bachelier 🐧 Committed by ntome

tools: Avoid stale_pyc under Python 3

Under Python 3, __pycache__ is used, and is not cleaned up.
It is also not necessary to clean it up anymore, since those .pyc files
cannot be imported without a .py files unlike what happens under Python 2.
parent 5008884f
......@@ -3,6 +3,6 @@ set -e
. "$(dirname $0)/common.sh"
$PYTHON "$(dirname $0)/stale_pyc.py"
[ $VER -eq 2 ] && $PYTHON "$(dirname $0)/stale_pyc.py"
exec $PYTHON "$(dirname $0)/local_install.py" "$@"
......@@ -3,6 +3,6 @@ set -e
. "$(dirname $0)/common.sh"
$PYTHON "$(dirname $0)/stale_pyc.py"
[ $VER -eq 2 ] && $PYTHON "$(dirname $0)/stale_pyc.py"
exec $PYTHON "$(dirname $0)/local_run.py" "$@"
......@@ -102,7 +102,7 @@ else
XUNIT_ARGS=""
fi
${PYTHON} "$(dirname $0)/stale_pyc.py"
[ $VER -eq 2 ] && $PYTHON "$(dirname $0)/stale_pyc.py"
echo "file://${WEBOOB_MODULES}" > "${WEBOOB_TMPDIR}/sources.list"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment