Giovanni Bajo wrote: > On 4/23/2007 3:12 PM, mathieu wrote: > >> 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) ? > > 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).
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
