[Python-Dev] VC++ versions to match python versions?

Michael Foord fuzzyman at voidspace.org.uk
Mon Aug 17 16:34:25 CEST 2009


Michael Foord wrote:
> Chris Withers wrote:
>> Hi All,
>>
>> Is the Express Edition of Visual C++ 2008 suitable for compiling 
>> packages for Python 2.6 on Windows?
>> (And Python 2.6 itself for that matter...)
> I would think so - all you really need is the compiler (which the 
> express version definitely includes). You may need to manually add 
> some directories to the path.
>
> I haven't actually tried it, but then nor have you from the sound of it.
>
>>
>> Ditto for 2.5, 3.1 and the trunk (which I guess becomes 3.2?)
>
> Python 3.1 / 3.2 are built with VS 2008. 2.5 is built with 2003 which 
> is difficult to download unless you have an MSDN subscription. VS 2008 
> can't (reliably) be used to build extensions for 2005 I believe.
>

D'oh. For 2.5 I mean. It may be *possible* though - just as you *can* 
build extensions for Python 2.5 on windows with mingw (with the 
appropriate distutils configuration), but there are pitfalls with doing 
this.

Michael
> I'm sure someone will correct me if this information is incorrect.
>
> Michael
>
>>
>> cheers,
>>
>> Chris
>>
>
>


-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog




More information about the Python-Dev mailing list