Hi Arra,
Just a suggestion as a work around you could modify your “if __debug__” cases to read “if __debug__ and not getattr(sys, 'frozen', False) “ this would disable the debug on your built executables for you. See https://pyinstaller.org/en/stable/runtime-information.html for more.
Hope that helps,
Steve Barnes
--
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/CAM_S47RFx70RrRNvNvKv47sC5zra2zeyc0nAD6-JH1Jg5F-K-Q%40mail.gmail.com.
Hi Arra,
Glad you like the idea for a work around.
Yes it is public & documented at https://pyinstaller.org/en/stable/runtime-information.html and yes there are several other goodies in there from what I read, e.g.:
Well worth a read. I also think that you might like reading https://pyinstaller.org/en/stable/when-things-go-wrong.html#build-time-dependency-graph amongst others.
All the best,
Steve
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/b57cffde-d094-4807-a39b-caf32683dcc7n%40googlegroups.com.