Python 2.5 egg-info files break pkg-plists

Alexander Botero-Lowry alexbl at freebsd.org
Wed Oct 11 12:20:38 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
> ...
Yeah, we have a patch to resolve this against bsd.python.mk which I believe is awaiting 
approval. You can see the patch at:
http://people.freebsd.org/~perky/bsdpythonmk-egginfo.diff

> 
> 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.
It's best to just deal with the issue on bsd.python.mk as the patch above does.

Alex
> 
> Regards
> Marcus
> 
> --gBBFr7Ir9EOA20Yy
> Content-Type: application/pgp-signature
> Content-Disposition: inline
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (FreeBSD)
> 
> iD8DBQFFLUDOo/JpszXavhwRAlMeAJ9ivOVmE7sgoials51DCjczW5ldkgCgmrTJ
> iigYDyiCJV8uc2z19h/YkX4=
> =/tPJ
> -----END PGP SIGNATURE-----
> 
> --gBBFr7Ir9EOA20Yy--
> 
> --DSPAM_MULTIPART_EX-726
> Content-Type: text/plain
> X-DSPAM-Signature: 4,452d420d7261280118553
> 
> !DSPAM:4,452d420d7261280118553!
> --DSPAM_MULTIPART_EX-726--
> 
> 


More information about the freebsd-ports mailing list