Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2006 21:06:54 +0200
From:      Marcus von Appen <mva@sysfault.org>
To:        freebsd-ports@freebsd.org
Cc:        freebsd-python@freebsd.org
Subject:   Python 2.5 egg-info files break pkg-plists
Message-ID:  <20061011190654.GA1030@medusa.sysfault.org>

next in thread | raw e-mail | index | archive | help

--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061011190654.GA1030>