Actually, it's not that simple.
The following works, because setup.py lives in d:\bar
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 ?
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.