Help with warnings in py2exe

Miki Tebeka tebeka at
Mon Aug 12 12:40:06 CEST 2002

Hello Tom,

> I am using py2exe with M$VC and I would like to persuade setup py2exe to
> return a non-zero status on warnings, specifically on failure to import a
> module. At present it logs a warning, but returns 0, so M$VC blithely
> carries on building. The only way to kill the build appears to have setup
> return non-zero.
In the Custon Build tab there is an "Outputs" textbox.
Put the path to the output files (the dll produced).
This way if the dll won't build the build will fail.


More information about the Python-list mailing list