Help with warnings in py2exe

Tom Harris TomH at
Mon Aug 12 01:11:06 EDT 2002


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.

Tom Harris, Software Engineer
Optiscan Imaging, 15-17 Normanby Rd, Notting Hill, Melbourne, Vic 3168,
email tomh at     ph +61 3 9538 3333  fax +61 3 9562 7742

This email may contain confidential information. If you have received this
email in error, please delete it immediately,and inform us of the mistake by
return email. Any form of reproduction, or further dissemination of this
email is strictly prohibited. Also, please note that opinions expressed in
this email are those of the author, and are not necessarily those of
Optiscan Pty Ltd.

More information about the Python-list mailing list