Fix Python package breakage due to PYTHONDONTWRITEBYTECODE=1

This closes #4737
This commit is contained in:
Michael Klein 2020-12-11 23:53:14 +01:00
parent 05c81a0e71
commit 9862b955e2

View File

@ -106,3 +106,6 @@ unset CONFIG_SITE
# Ignore custom python installs...
unset PYTHONHOME PYTHONPATH PYTHONSTARTUP
export PYTHONNOUSERSITE=yes #disable PEP 370
# Fix #4737
unset PYTHONDONTWRITEBYTECODE