From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: Re: Python ignores pth files? Date: Sun, 01 Mar 2015 21:34:54 +0100 Message-ID: <878ufgh2xd.fsf@taylan.uni.cx> References: <87a8zwa2er.fsf@mango.localdomain> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSAZl-0005Qp-UY for guix-devel@gnu.org; Sun, 01 Mar 2015 15:34:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSAZl-0005HI-09 for guix-devel@gnu.org; Sun, 01 Mar 2015 15:34:57 -0500 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:34206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSAZk-0005HB-QX for guix-devel@gnu.org; Sun, 01 Mar 2015 15:34:56 -0500 Received: by wghn12 with SMTP id n12so29855878wgh.1 for ; Sun, 01 Mar 2015 12:34:56 -0800 (PST) In-Reply-To: <87a8zwa2er.fsf@mango.localdomain> (Ricardo Wurmus's message of "Sun, 01 Mar 2015 21:27:56 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: Guix-devel Ricardo Wurmus writes: > pygtk and pygobject both come with .pth files that instruct Python to > check out the "gtk-2.0" subdirectory, yet these files are seemingly > ignored as (according to strace) Python makes no attempt to look inside > the declared subdirectories when Solfege starts up. I had the same experience trying to package nmap (still lying around in a branch). The #python IRC channel on Freenode told me that indeed .pth files in PYTHONPATH aren't used, only those in some system paths. I can't remember the details, but Python's documentation should tell. Taylan