I am continuing my efforts to automate PyInstaller, and I would like
to now redirect warning to the shell. I can fairly easily reread the
warn* file and then dump it. But my issue is that there are a lot of
false positive warning in the file. Is there a way to know which
warning was actually a problem (simply not found) ?
Thanks !
-Mathieu
Alas, it's not possible, because otherwise the false positive problem
would be fixed and the warning wouldn't be there in the first place...
I think one thing that could be done is to "whitelist" usual false
positives in the standard library (like those in os.py or similar).
--
Giovanni Bajo
Alternatively, for a particular application, run the file through
something like "grep -v" to drop out the expected warnings; this can get
both the python-specific warnings and those related to the packages you
use. (You could even automate it with a bit of code at the end of the
.spec file.)
--
Don Dwiggins
Advanced Publishing Technology