[Python-Dev] Python 2.4, MS .NET 1.1 and distutils

Jim Fulton jim at zope.com
Fri Nov 26 16:01:06 CET 2004


M.-A. Lemburg wrote:
> I just tried to compile some extensions on Win XP with .NET 1.1
> and Python 2.4c1 installed.
> 
> It turns out that the distutils recognition logic for finding
> a suitable C compiler is not able to find the compiler by simply
> looking at the PATH, INCLUDE and LIB settings of the OS instead
> of poking around in the registry :-)
> 
> Now since extensions for 2.4 will have to be built using the
> same compiler as Python itself (the one that comes with VC7.1
> which is the same as the one in the freely downloadable
> .NET 1.1 SDK), I would suggest to make distutils aware of the
> compiler by looking on the PATH in case the registry doesn't
> have the VC7.1 entries.
> 
> I think this would be a good patch candidate for 2.4.1

+1

  - not
> sure whether it's important enough to squeeze something into
> 2.4c2.

I think it isn't.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Python-Dev mailing list