Finding VC (Was: Re: [Distutils] WinNT and distutils)

Greg Ward gward@cnri.reston.va.us
Tue, 1 Feb 2000 13:29:16 -0500


On 01 February 2000, Thomas Heller said:
> I propose the following:
> 
> 1. Convince Guido to give python 1.6 registry access in the core.
> I'm currently working on such a module.
> 
> 2. (>=1.6) Use the registry to find Path, Include, and Lib
> directories for VC, and supply them on the command line.
> 
> 3. (<1.6) Try to import win32api and win32con, and use Robins
> code to find the directories. If this also fails, inform the user
> that the environment must be set up for VC by running
> vcvars32.bat, and restarting setup.py.
>  Note that it also may be possible the VC is not installed at all!

That sounds like a good plan.

> I think we should come to a conclusion here, and offer Greg some tested
> patches.
> I'm willing to work on this.

Excellent!  Probably a good place to start is with Robin's latest patch,
which looks like it fulfills #3 on your list.  Try applying that to
0.1.3 and see if it works for you as well as it did for Robin.  Let us
know how it goes.

Thanks!

        Greg