[Distutils] Windows absolute paths
Peter Bienstman
Peter.Bienstman@rug.ac.be
Mon Apr 15 13:27:01 2002
> > 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
>
> Why would you want to put drive letters into the paths ?
Not in this example, but in my real-world scenario the files are on a
different drive than setup.py
> BTW, would '../d:/foo' work ?
No luck..
> and if not, what's the error message you get ?
'File does not exist or is not a regular file'. I think 'd:/foo' gets
interpreted as './d:/foo', which is why the file cannot be found.
Peter