[PATCH] Force email package to be loaded in py2exe

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Jul 1 14:49:06 CDT 2008


Paul Moore wrote:
> # HG changeset patch
> # User Paul Moore <p.f.moore at gmail.com>
> # Date 1214939831 -3600
> # Node ID e2a5da9f5a9040262247d14a67cecefb6069d74b
> # Parent  78b3e254478e76d8f5058670f447ae1cbceab708
> Force email package to be loaded in py2exe
> 
> With Python 2.5, the email package is not fully loaded by py2exe, due to
> dynamic imports which are not found by modulefinder. This breaks the patchbomb
> extension. This patch forces the whole email package to be included so that
> the dynamic imports work as expected.

This would probably fix issue961, right?

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list