Windows daily builds + py2exe + Python 2.5

Shun-ichi GOTO shunichi.goto at gmail.com
Fri Jan 5 10:52:31 CST 2007


> I just downgraded to Python 2.4. If I try with a clone of the main
> repo (tip is 20da40cc1c73), I get the symlink problem. Cloning from
> crew (tip is dfe87137ed14, after Alexis' fix for this issue), the new
> hg.exe complains that there are "no module named mpatch", even if it
> was compiled. If I search for the .pyd files just created and copy
> then to the dist\ dir, then it works when I "cd" to the dist\ dir.
> However, if I move the dist\ dir to any other location in the path,
> then hg.exe can't find mpatch.pyd again. For some reason, py2exe is
> missing all the ext_modules=... modules.

I think it is this issue:
http://www.selenic.com/mercurial/bts/issue457

demandimport is not work for py2exe -b 1 compilation.
I've tried with python 2.3 and 2.4 but not with 2.5.

I don't know why demandimport strategy (replacing __import__) is not good
for frozen exe.  I guess we should dig into zipimport...

-- 
Shun-ichi GOTO


More information about the Mercurial-devel mailing list