[Distutils] tracking requested vs dependency installs in PEP 376 metadata

Tarek Ziadé ziade.tarek at gmail.com
Fri Oct 9 01:13:28 CEST 2009

Ian Bicking wrote:
> I can imagine adding a little information, basically a log of when and
> why and who installed the package.  For instance:
>   agent: pip 0.5
>   install-date: 2009-10-08T13:44:00UTC
>   installed-for-user: False
>   installed-for-package: OtherPackage==0.3
> Potentially a package could have multiple records, because multiple
> installers may in some sense touch a package (e.g., if you install
> YetAnotherPackage that requires the same library as OtherPackage).  You
> could use INI-style and maybe label each record with the date, like
> [2009-10-08T13:44:00UTC].

> Sure; I considered this possibility too, but wanted to keep the initial
> proposal to "the simplest thing that could possibly work." I have no
> problem with a log-style approach that includes more information, and if
> it makes sense to others I can work on the implementation.

I'd go for the simplest approach at first.

On Thu, Oct 8, 2009 at 9:52 PM, Toshio Kuratomi <a.badger at gmail.com> wrote:
> I would say REQUESTED due to my arguments for not recording
> installed-as-package-dependency.



More information about the Distutils-SIG mailing list