VisualStudio2005 supported in distutils

Jarek Zgoda jzgoda at o2.usun.pl
Wed Aug 2 17:56:07 EDT 2006


Martin v. Löwis napisał(a):

>>Unfortunately, distutils does not support VisualStudio2005. I tried to
>>modify the file msvccompiler.py without success (this case requires to
>>support some changes of the Visual Studio 8 register for both Win32 and
>>Win64). So, I wonder if the integration of VisualStudio2005 in distutils
>>is scheduled in the Python developments or better, if someone has
>>experiences or patch to support VisualStudio2005 in distutils.
> 
> You shouldn't attempt to do that. Even if you manage to convince
> distutils to use VS 2005 to compile your extension, the resulting
> code may crash Python because of obscure incompatibilities between
> the compiler that was used to compile Python (VS 2003) and the compiler
> that was used to compile the extension (VS 2005).
> 
> Whether or not it will actually crash depends on obscure details
> of the API that the extension uses.

Sure, but what if I succesfully compile Python with VS 2005? Hier ist
der Hund begraben, distutils cann't handle this compiler so I'll be
unable to compile any extension for my home-baken Python.

-- 
Jarek Zgoda
http://jpa.berlios.de/



More information about the Python-list mailing list