[Distutils] Re: Patch for NT
Thomas Heller
thomas.heller@ion-tof.com
Fri, 31 Mar 2000 09:17:27 +0200
> > diff -cr distutils/msvccompiler.py distutils.new/msvccompiler.py
> > *** distutils/msvccompiler.py Wed Mar 29 09:01:40 2000
> > --- distutils.new/msvccompiler.py Wed Mar 29 20:58:54 2000
> [...]
> > --- 319,331 ----
> > raise TypeError, "'output_dir' must be a string or None"
> > if output_dir is not None:
> > output_filename = os.path.join (output_dir, output_filename)
> > + else:
> > + output_dir = os.path.dirname (output_filename)
>
> What does this add? The name 'output_dir' isn't referenced anywhere
> after this point.
Not needed any longer. You are right.
> There, I've just applied your patch, discarded the unneeded
> 'build_extensions' and 'output_dir' bits, and checked it all in. Looks
> like it all still works for me under Linux...
>
I did an cvs update this morning, and it works. Thanks!
Thomas