Fix for Python library path problem

Eric S. Raymond esr at thyrsus.com
Wed Sep 27 21:40:56 UTC 2017


Gary E. Miller via devel <devel at ntpsec.org>:
> Yo Eric!
> 
> On Wed, 27 Sep 2017 17:21:23 -0400
> "Eric S. Raymond via devel" <devel at ntpsec.org> wrote:
> 
> > Fred Wright via devel <devel at ntpsec.org>:
> > > So *something* is adding additional entries to sys.path in your
> > > Ubuntu Python (but not mine).  If there's a way to make that
> > > happen, it could be another solution.  I *don't* see any of that
> > > here (ubuntu 14.04, Python 2.7.6), even though there are multiple
> > > packages with egg files.  
> > 
> > You seem to be the odd person out.  We now have confirmation of my
> > rule (/usr/lib/X/Y in sys.path implies /usr/local/lib/X/Y in
> > sys.path) from Gentoo and two versions of CentOS, as well as my
> > Ubuntu 16 and Raspbian systems.
> 
> Uh, no.  Not on my Gentoo, and not on CentOS.

I thought you just told me the opposite, and I *know* Jason did.

Jason Azze via devel <devel at ntpsec.org>:
> I checked CentOS 6.9 and CentOS 7.3 and, after I figured out I had to
> import sys, I can confirm that the second expression comes back empty.

If Gentoo doesn't obey that rule, how did your FHS-compliant
installations ever work before Fred's patch?
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170927/a15775c9/attachment.bin>


More information about the devel mailing list