[Distutils] Windows absolute paths
M.-A. Lemburg
mal@lemburg.com
Mon Apr 15 13:11:01 2002
Peter Bienstman wrote:
>
> 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
Why would you want to put drive letters into the paths ?
BTW, would '../d:/foo' work ? and if not, what's the
error message you get ?
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/