On Thu, Nov 5, 2009 at 11:39 PM, Sridhar Ratnakumar <sridh...@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 _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig