Tuvi, Selim wrote: > Hi, we have a number of extension modules which are written in C and compiled > against Microsoft Visual Studio .NET 2002. Looks like your Win32 build of > ActivePython is with MSVC++ 6.0. Wouldn't that create a conflict with our extension > modules? I am specifically referring to the following piece of code in > msvccompiler.py in distutils package: > > raise DistutilsPlatformError, \ > ("Python was built with version %s of Visual Studio, " > "and extensions need to be built with the same " > "version of the compiler, but it isn't installed." % > self.__version) > > Do you have a binary distribution that is compiled against VS.NET 2002? > > No. Our distribution is based on VS6 as that is what the other major distribution uses, and we want to maintain compatibility with as many extensions as possible.
> I did download the ActivePython 2.3.2 source and was able to compile it under > VS.NET but since we need to distribute ActivePython to our users I prefer to have a > nice installer like yours. > > Note that you're not allowed to redistribute ActivePython outside of your organization (cf. the license agreement http://www.activestate.com/Products/ActivePython/license_agreement.plex). We are not planning a VS.Net distribution in the near term. If you _really_ want a VS.Net build, we could build one, but it would have to fall in the "Contracts" category. I don't know enough about your needs to know whether that is something that works for you or not. Note that _many_ extensions are likely to be compatible. My understanding of the VC6/VS.Net incompatibilities has to do with e.g. sharing of system resources like file handles created by an object code compiled against one version of the C library passing resources over to object code compiled with the other. It is very possible that the distutils warning is _too_ strict. Not knowing enough about your extension, I would suggest "hacking" distutils to skip that check and trying it out. Cheers, --david ascher _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython