py2exe build failed with mingw32

Shun-ichi GOTO shunichi.goto at gmail.com
Thu Nov 15 03:09:29 UTC 2007


2007/11/15, TK Soh <teekaysoh at gmail.com>:
> > Did you try compiling with setup.cfg?
> > # See win32-build.txt about setup.cfg
>
> I haven't. But setup.cfg is implied as alternative in the
> win32-build.txt. I feel that those basic instructions should be
> working first.

You are right to think so. But it success if you have msvc compiler installed.
# Yes, I do not fail with that instructions.

The problem is that py2exe (and setuptools) try to detect compiler
before know no need to build, and abort with error if compiler is
not exist.
I think it is a fault of py2exe not to specify compiler on command line.
So you should use setup.cfg until setup or py2exe is fixed,
and document should be updated for that.

P.S.
The thread in mailing list related this is here:
http://www.selenic.com/pipermail/mercurial/2007-April/012966.html
-- 
Shun-ichi GOTO



More information about the Mercurial mailing list