Python 2.5 egg-info files break pkg-plists

Marcus von Appen mva at sysfault.org
Wed Oct 11 12:11:27 PDT 2006


Hi,

Python 2.5 seems to install automatically generated egg-info files for
each package. This causes each port, which installs files into
the site-packages directory to leave files around:

For devel/pygame this would be pygame-1.7.1release-py2.5.egg-info.
For x11-toolkits/py-tkinter this would be Tkinter-0.0.0-py2.5.egg-info
...

This is a more or less serious issue which should be fixed soon, either
by updating all ports, which place files into site-packages or by
turning that option off in the distutils package.
The line, which should do that would be line 604 in
Python-2.5/Lib/distutils/command/install.py:

-    ('install_egg_info', lambda self:True),
+    ('install_egg_info', lambda self:False),

Although the egg support was planned for 2.6, some of its code went
already into the 2.5 distutils distribution :-}.

As python eggs rely upon .egg-info files to track down dependencies,
this becomes a funny issue to deal with.

Regards
Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20061011/c6c30255/attachment.pgp


More information about the freebsd-ports mailing list