[Distutils] Spec for the egg-info format

Carl Meyer carl at oddbird.net
Wed Mar 14 09:34:20 CET 2012

On 03/07/2012 09:07 PM, PJ Eby wrote:
> On Mon, Mar 5, 2012 at 4:47 PM, Paul Moore <p.f.moore at gmail.com
> <mailto:p.f.moore at gmail.com>> wrote:
>     Is there a good spec of the egg-info (directory) format anywhere? 
>     - Should filenames in installed-files.txt be absolute or relative (and
>     if relative, then to what)?
> That's defined by the appropriate PEP; setuptools doesn't yet support an
> installed-files log.

I have nothing to add except for here; installed-files.txt is not
specified in any PEP AFAIK, it's pip-specific (and generated by the
distutils install --record option). Generally the filenames in it are
relative to the location of installed-files.txt itself; absolute paths
will work equally well for uninstall (where the installed-files log is
used), but obviously become wrong if the installation were relocated.

All the files in .egg-info aside from installed-files.txt are generated
by setuptools and not touched by pip.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20120314/22e163a3/attachment.pgp>

More information about the Distutils-SIG mailing list