Use --debug=noarchive.
Use
--debug=noarchive.--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/08da3fa6-6d85-403f-a658-5b8da4cfa789n%40googlegroups.com.
I think you have to use the `--clean` option and possibly clear your build folder for the `--debug=noarchive` option to actually be used. Last time I used it I remember it needing some extra encouragement. But the scenario your describing is exactly what it's for - it should do what you want it to do.
I take it then that it is necessary to code-sign `.pyc` files on macOS? I see another headache on the horizon...
--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/724e59ca-68da-4b7f-8a96-893a51ed1b61n%40googlegroups.com.
Yes, codesigning remains a mystery to me too, and even worse since they added 'notarizing' in Catalina. I've found an application which I use now for code signing and packaging which takes a lot of pain out of the process: App Wrapper (https://ohanaware.com/appwrapper/). It's not free, but I find it very useful.Even when using App Wrapper, I still had an issue with 'base_library.zip' and code signing, but it appears that it should be located in the /Contents/Resources folder instead of /Contents/MacOS. I found this issue discussed at: https://github.com/pyinstaller/pyinstaller/issues/3550[Solution]
If you move base_library.zip to Contents/Resources
Then provide a soft link:
cd Contents/MacOS
ln -s ./../Resources/base_library.zip base_library.zipI used to employ a python script which walked through my app and signed absolutely every file! When it encountered the base_library.zip file, it would unzip it, sign every file inside, and then zip it again; then sign the zip file itself and then the app again. Absolute overkill, I'm sure, but I was a desperate man! Now, with the zip file located with the resources as described above, just normal code signing seems to work just fine.Best regards,Tim
--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/6901caff-93fa-4ff4-a847-80cd287ec551n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/6901caff-93fa-4ff4-a847-80cd287ec551n%40googlegroups.com.