From owner-freebsd-python@FreeBSD.ORG Wed Oct 11 19:11:27 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 0F32916A40F for ; Wed, 11 Oct 2006 19:11:27 +0000 (UTC) (envelope-from mail@sysfault.org) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.18.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3887043D5C for ; Wed, 11 Oct 2006 19:11:09 +0000 (GMT) (envelope-from mail@sysfault.org) Received: (qmail 27764 invoked from network); 11 Oct 2006 19:10:45 -0000 Received: from unknown (HELO medusa.sysfault.org) (936934@[89.182.93.126]) (envelope-sender ) by smtprelay05.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 11 Oct 2006 19:10:45 -0000 Received: from localhost ([127.0.0.1] helo=medusa.sysfault.org) by medusa.sysfault.org with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GXjPr-0003QT-55; Wed, 11 Oct 2006 21:06:55 +0200 Received: (from marcus@localhost) by medusa.sysfault.org (8.13.1/8.13.1/Submit) id k9BJ6sPA013172; Wed, 11 Oct 2006 21:06:54 +0200 (CEST) (envelope-from marcus) Date: Wed, 11 Oct 2006 21:06:54 +0200 From: Marcus von Appen To: freebsd-ports@freebsd.org Message-ID: <20061011190654.GA1030@medusa.sysfault.org> Mail-Followup-To: freebsd-ports@freebsd.org, freebsd-python@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-Spam-Score: -4.4 (----) Cc: freebsd-python@freebsd.org Subject: Python 2.5 egg-info files break pkg-plists X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen 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:11:27 -0000 --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--