[Bug 3591] py2exe does not work properly