Replies: 1 comment 4 replies
-
Don't we already remove (most) Python source files? (via Is the issue with the Python modules we keep as source? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If we ever want to code sign the app bundle on Mac, we can't have
*.pyc
files generate in the embedded Python.framework.Code signing takes into account all the contents of the app bundle. Currently on first run, python compiles all the byte-code and places it alongside the framework in the app bundle, which would invalidate the signature.
We should investigate whether PYTHONCACHEPREFIX (python3.8+) could be used to store the pyc files in ~/Library/Application Support/Open Steno Project/Plover` instead.
Beta Was this translation helpful? Give feedback.
All reactions