[Python-Dev] PEP 376

Paul Moore p.f.moore at gmail.com
Thu Jul 2 14:39:29 CEST 2009


2009/7/2 Tarek Ziadé <ziade.tarek at gmail.com>:
> For absolute paths now that gets installed, what would be the
> difference between the pre-generated
> RECORD file and the RECORD file installed on the win32 target system, if any ?

When is an absolute path generated? If you can give me a small sample
of a distribution that installs a file in an absolute path, I'll do
some testing on Windows.

But the immediate answer is that there are *no* reliable "absolute"
paths on Windows, so you're not looking at the likes of /usr/doc, but
rather paths that are relative to sys.prefix, but not to the package
directory. In that case, the key point is that if the installer is
built on a system where Python is installed in a different directory
than the system where the installer is run, paths need to be
relocated. (E.g., C:\Python27 vs D:\Apps\Python27).

Paul.


More information about the Python-Dev mailing list