[Distutils] PEP 376 - RECORD file / Data files + pip feedback ?

Sridhar Ratnakumar sridharr at activestate.com
Sat Feb 6 01:49:09 CET 2010

On 2010-02-05, at 8:13 AM, Tarek Ziadé wrote:

> Hi,
> The part that still requires some work is how to handle files prefixes
> in the RECORD file.
> Last time we said that we could benefit of having a PREFIXES file.
> Then Wolojda started to work on a much more complete solution to track
> data file locations :
> http://mail.python.org/pipermail/distutils-sig/2009-November/014424.html
> But IIRC he's not able to work on this at this time. (CCing him in case..)
> What I suggest is that we leave this new work for a future enhanced
> version of PEP 376, and try to finish a version that we would want to
> have in Python 2.7 (that's coming very soon), where RECORD contains
> what we want to make it possible to remove installed files + provide
> the query API.
> As far as I am concerned, the RECORD thingie needs more live examples
> on various platforms (that's what I am working on now),
> But since Pip has now a uninstaller for a few months, the question is:
> what do you Pip guys think about this RECORD file ? (cc'ing Ian as
> well - I know the other involved in that are listening here :))

PyPM stores file paths relative to sys.prefix in the installation database. The binary package file (*.pypm/data.tar.gz) contains installed files relative to sys.prefix - implying that files-outside-sys.prefix are not supported by PyPM.

Do we have a real-world example for installing uninstallable data files outside sys.prefix?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100205/77d4b049/attachment.htm>

More information about the Distutils-SIG mailing list