[Distutils] Setuptools for Python 2.5

Michael Foord fuzzyman at voidspace.org.uk
Wed Sep 13 00:33:41 CEST 2006

Paul Moore wrote:
> On 9/12/06, Phillip J. Eby <pje at telecommunity.com> wrote:
>> Actually, that's not the reason.  Python 2.5 requires setuptools 0.7a1,
>> which is only available from SVN.
> Ah. In that case, the error is misleading but at least the solution is
> straightforward :-) But I built and installed 0.6c2 as a bdist_wininst
> and things seemed to be sort-of working. What actually goes wrong?
> Something clearly does, but it's far from obvious...
>> setup.py install.  Be sure to use the 0.7a1 version from the trunk.
> OK, cool. Does the fact that I can use setup.py install also mean I
> can just build a bdist_wininst and install that? That was what the
> single-version-externally-managed format was about, yes? If so, do I
> miss out on any of the multi-version features by doing things this
> way?
>> Probably, unless you set up to use MinGW as your compiler or install the
>> relevant MSVC goodies, so that they can be built from source.
> Oh, I have both mingw and (the free version of) MSVC. No problem there
> - I misread the original problem as implying that it wouldn't build
> from sources for some reason.
I'm afraid that the *latest* free version of MSVC won't work for 
compiling extensions. The old one needed certain changes to the 
distutils configuration to work.

distutils also needs configuring to use MinGW by default, but this is 
very easy.

All the best,


More information about the Distutils-SIG mailing list