From owner-freebsd-python@FreeBSD.ORG Wed Oct 11 19:20:38 2006 Return-Path: X-Original-To: freebsd-python@freebsd.org Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C764716A40F; Wed, 11 Oct 2006 19:20:38 +0000 (UTC) (envelope-from alex@foxybanana.com) Received: from suede.reed.edu (suede.reed.edu [134.10.2.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id E130A43D73; Wed, 11 Oct 2006 19:20:37 +0000 (GMT) (envelope-from alex@foxybanana.com) Received: from Laptop.mine.box (c038h213.dorm.reed.edu [134.10.38.213]) by suede.reed.edu (8.13.7/8.13.7) with ESMTP id k9BJKY6V011580 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Wed, 11 Oct 2006 12:20:34 -0700 Received: from localhost (localhost [127.0.0.1]) by Laptop.mine.box (8.13.6/8.13.6) with ESMTP id k9BJKCUN034366; Wed, 11 Oct 2006 12:20:12 -0700 (PDT) (envelope-from alex@Laptop.mine.box) Message-Id: <200610111920.k9BJKCUN034366@Laptop.mine.box> From: Alexander Botero-Lowry To: Marcus von Appen In-reply-to: <20061011190654.GA1030@medusa.sysfault.org> References: <20061011190654.GA1030@medusa.sysfault.org> Comments: In-reply-to Marcus von Appen message dated "Wed, 11 Oct 2006 21:06:54 +0200." Date: Wed, 11 Oct 2006 12:20:12 -0700 Sender: alex@foxybanana.com X-Scanned-By: MIMEDefang 2.57 on 134.10.2.45 Cc: freebsd-ports@freebsd.org, freebsd-python@freebsd.org Subject: Re: Python 2.5 egg-info files break pkg-plists X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 19:20:38 -0000 > > 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-- > >