MacOS packages are signed and checked on each run. Since Python lives inside the package, adding byte code will break the package signature (cherry picked from commit 5881471a52)
5881471a52