[Distutils] WinNT and distutils

Thomas Heller thomas.heller@ion-tof.com
Fri, 28 Jan 2000 14:28:13 +0100

> Greg Ward wrote:
> >
> > > >Perhaps the msvccompiler.py class should take care of this too...
> > > >it would sure help to avoid a distutils FAQ.
> >
> > I'll happily accept patches!  (I'd prefer not to be the one to translate
> > a Microsoft-written batch file into Python: there're reasons I abandoned
> > DOS almost 6 years ago, and batch files were one of them...)
> What I had in mind was that distutils should execute vcvars32.bat
> prior to calling calling the compiler. Should be simple enough,
> I guess, although I'm not sure how you have implemented OS
> environment inheritance... could be that you have to execute
> vcvars32.bat prior to *every* call to MSVC.

Does not work, because you do not know where to find it.
It is *not* on the path, it is in the VC/bin directory.
Maybe even that it is optional (I do not remember).

Thomas Heller