[Distutils] Windows absolute paths

Peter Bienstman Peter.Bienstman@rug.ac.be
Mon Apr 15 12:53:01 2002


On Mon, 15 Apr 2002, M.-A. Lemburg wrote:

> Peter Bienstman wrote:
> >
> > Hi,
> >
> > I'm having trouble in getting Windows absolute paths like e.g d:\foo to
> > work in distutils. They alway seem to be treated as a relative path...
>
> distutils uses Unix path names internally, i.e. / instead of \.

Actually, it's not that simple.

The following works, because setup.py lives in d:\bar

../foo

None of these work:

D:/foo
/D:/foo
//D:/foo
D:\foo
\D:\foo
\\D:\foo

Peter