This is a bug in py2app: https://bitbucket.org/ronaldoussoren/py2app/issue/59/generated-app-is-writing-pyo-files-inside
Until that's fixed, a workaround is to run the app once and re-sign before distributing. Fortunately, all the .pyo files that could be generated are generated on startup without doing anything in the app, so this is fast.
This is a bug in py2app: /bitbucket. org/ronaldousso ren/py2app/ issue/59/ generated- app-is- writing- pyo-files- inside
https:/
Until that's fixed, a workaround is to run the app once and re-sign before distributing.
Fortunately, all the .pyo files that could be generated are generated on startup without doing anything in the app, so this is fast.