What about having this patch added to base Python?
> -----Original Message-----
> From: py2exe-users-admin@...
> [mailto:py2exe-users-admin@...] On Behalf=20
> Of Thomas Heller
> Sent: Monday, November 07, 2005 4:17 PM
> To: py2exe-users@...
> Subject: [Py2exe-users] (Code, long!) was: Re: A faster modulefinder
> I wrote:
> > For not too small py2exe-projects, the runtime of modulefinder is=20
> > quite long. For me, the time to find all 533 modules I=20
> currently have=20
> > in my library.zip, it takes around 48 seconds.
> > So, I profiled the Python 2.4 modulefinder, and patched it for a=20
> > speedup of a factor of ~2.5 - the time required to find the modules=20
> > drops to around 19 seconds.
> > I'll attach a diff against the stock Python 2.4=20
> modulefinder in case=20
> > anyone is interested (if it makes more sense to post the complete=20
> > module please let me know).
> Harald Armin Massa <haraldarminmassa@...> replies:
> > Thomas,
> > yes, it makes more sense to post the complete module. Many people=20
> > enjoy py2exe without having any tools like diff and patch and ...
> So, here is the complete modulefinder module, it should go=20
> into Python24\lib\modulefinder.py (probably after saving the=20
> previous file to some other name).