[Distutils] Fwd: add install_paths.json to .egg-info and .dist-info directory

Daniel Holth dholth at gmail.com
Wed May 13 00:20:05 CEST 2015


No, PEP 426 needs to be static metadata that is not modified by the
installer.

The new json file would make more sense in (a successor to) PEP 376
"Database of Installed Python Distributions".

In wheel it would would need to be handled as a processing step similar to
writing console_scripts, or doing non-console_scripts #! rewriting, or
updating MANIFEST.

Too bad the wheel post-install is not as pluggable as setuptools egg-info
writers.
On May 12, 2015 5:36 PM, "Vinay Sajip" <vinay_sajip at yahoo.co.uk> wrote:

> > From: Nick Coghlan <ncoghlan at gmail.com>
> >On 13 May 2015 at 00:44, Daniel Holth <dholth at gmail.com> wrote:
>
> >> As a prerequisite to adding useful finer-grained installations to
> >> setuptools & wheel, I propose adding install_paths.json as a metadata
>
> > +1, this sounds like a good incremental step forward to me. I'm not
>
> > sure how best to document it, though. Perhaps have this initial>
> increment as an implementation detail, and then formalise it in the
> > next version of the wheel spec.
>
>
> Sounds like a reasonable idea to me, too. But IIUC this file will be
> written by an installer, but not necessarily present in the wheel - is that
> right? If not present in the wheel (or perhaps anyway) ISTM it makes sense
> to specify it in PEP 426 because it's part of the installation metadata.
>
> Regards,
>
> Vinay Sajip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20150512/ee075069/attachment.html>


More information about the Distutils-SIG mailing list