From 9862b955e232329d08cb56067cc0e6bb06798859 Mon Sep 17 00:00:00 2001 From: Michael Klein Date: Fri, 11 Dec 2020 23:53:14 +0100 Subject: [PATCH] Fix Python package breakage due to PYTHONDONTWRITEBYTECODE=1 This closes #4737 --- config/path | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/path b/config/path index 7d96080236..5b8488da94 100644 --- a/config/path +++ b/config/path @@ -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