[Distutils] additional paths in wheel
Daniel Holth
dholth at gmail.com
Thu Sep 4 23:42:16 CEST 2014
Only the installer cares about RECORD. The application knows it's looking
for doom1.wad and it just needs to know what the $wadfiles path was - it
just needs the prefix, which is all the new option writes. That is why I
don't propose using record for this. We will not allow every file in the
dist to be relocated relative to every other.
On Sep 4, 2014 2:43 PM, "Vinay Sajip" <vinay_sajip at yahoo.co.uk> wrote:
> > Provide a mechanism for recording the actual paths used
> > during installation (in wheel.json).
>
> Well, there is already a list of paths used which is used during
> uninstallation (RECORD). It would make sense to record all the
> installed files there, and no reason to duplicate that elsewhere.
>
> In general, IMO importable (executable) Python files should be
> avoided for this kind of use case - JSON files in the .dist-info
> would be better. We see from the .pth file and setup.py examples
> that executable Python for these types of usages can be a bit of
> a double-edged sword.
>
> Possibly we should replace RECORD, etc. with JSON equivalents
> (to be neat and tidy).
>
> Regards,
>
> Vinay Sajip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140904/63b825bd/attachment.html>
More information about the Distutils-SIG
mailing list