This patch is an attempt to allow the exe in a single
file distribution to be renamed. The strategy is to
use the exe name if the zipfile name is empty.
Within build_exe.py, if zipfile is None then set
relative_arcname='' on line 765. This is not part of
the patch file.
This patch is untested---the base py2exe distribution
does not work under my MinGW installation. Somebody
with a working build system please test this and let me
know if it works. Thanks!
default to exe name if zipfile is blank
Logged In: YES
user_id=1197042
Originator: NO
Just discovered that py2exe is actually hosted on sourceforge, and I hope this is a place to submit bug. Interesting that we came up with the same idea of setting arcname to empty string, though my patch is a little bigger, since you actually have to do some additional things.
Unfortunately I can't attach new files here, so here's the link to my patch:
http://snaury.googlepages.com/py2exe-0.6.6-libname-fix.patch
I've been using this patch for quite a while already, and haven't seen any issues so far.