[Distutils] PEP 376 -- support for release versions?

Tarek Ziadé ziade.tarek at gmail.com
Thu Nov 5 23:45:47 CET 2009


On Thu, Nov 5, 2009 at 11:39 PM, Sridhar Ratnakumar
<sridharr at activestate.com> wrote:
[..]
>
> Since release numbers are specific to the installer (and repository), how
> about having it in the .egg-info/INSTALLER file?
>
> $ cat .egg-info/INSTALLER
> name: PyPM
>
> [package]
> release: 2
> url: http://pypm.activestate.com/..../python-ldap....pypm
> pinned: True
> ...

We specified an INSTALLER file already, see:
http://www.python.org/dev/peps/pep-0376/#id33

But just with the name of the installer. The use case was to be able
to avoid removing a distribution
that was installed by another installer.

I don't think the extra bit ([package]) is necessary in the INSTALLER
file, because it's specific to the installer tool.
And, as long as you can read/write arbitrary files in /.egg-info, you
can put it in a specific file.

Regards
Tarek


More information about the Distutils-SIG mailing list