VisualStudio2005 supported in distutils

mg mg.mailing-list at laposte.net
Thu Aug 3 03:49:22 EDT 2006


I know the incompatibility problem to have Python compiled with one 
compiler and packages with another one. Nevertheless, in my case, Python 
is well compiled with VisualStudio2005 thank to project files provided 
by Mr Python himself. So, Python is not yet ready to support completely 
VisualStudio2005: Python can be compiled with VisualStudio2005 but a 
VisualStudio2005-compiled-Python can not  install  additional packages.

So, if someone  can help me or provides me a solution, I am very 
interested ;-)

Martin v. Löwis wrote:
> mg schrieb:
>   
>> 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.
>
> Regards,
> Martin
>   




More information about the Python-list mailing list