Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2006 12:20:12 -0700
From:      Alexander Botero-Lowry <alexbl@freebsd.org>
To:        Marcus von Appen <mva@sysfault.org>
Cc:        freebsd-ports@freebsd.org, freebsd-python@freebsd.org
Subject:   Re: Python 2.5 egg-info files break pkg-plists 
Message-ID:  <200610111920.k9BJKCUN034366@Laptop.mine.box>
In-Reply-To: <20061011190654.GA1030@medusa.sysfault.org> 
References:  <20061011190654.GA1030@medusa.sysfault.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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--
> 
> 



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