guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python ignores pth files?


From: Taylan Ulrich Bayırlı/Kammer
Subject: Re: Python ignores pth files?
Date: Sun, 01 Mar 2015 21:34:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Ricardo Wurmus <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]