Fw: Resolution of the library-path mess

2017-10-07 Thread Gary E. Miller via devel
Yo Daniele! On Sat, 7 Oct 2017 00:32:33 -0600 Daniele Nicolodi wrote: > On 06/10/17 18:47, Gary E. Miller via devel wrote: > > >> Debian solves the problem of installing user components in the > >> system path creating a dist-libraries along the site-libraries > >> path in the python module f

Re: Resolution of the library-path mess

2017-10-07 Thread Eric S. Raymond via devel
Daniele Nicolodi via devel : > But you and your mates may be too smart to think there is may be > something you can learn. > > And this is going to be my last contribution to this mailing list. Whoa. I wasn't outright rejecting your idea for post-1.0; in my book, "smart" implies being willing to

Re: Resolution of the library-path mess

2017-10-07 Thread Hal Murray via devel
If I have PYTHONPATH defined as /usr/local/lib/python2.7/site-packages Then the python libs get installed in /usr/local/lib/... If I unset PYTHONPATH, they get installed to /usr/lib/... Having a PYTHONPATH setup could be leftover from when ntpsec needed it, or it could be setup because some othe

Where to python libraries get installed?

2017-10-07 Thread Hal Murray via devel
waf configure prints out: PREFIX: /usr/local Should it also printout where it will install the python libraries? -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mai

Re: Where to python libraries get installed?

2017-10-07 Thread Eric S. Raymond via devel
Hal Murray via devel : > waf configure prints out: > PREFIX: /usr/local > > Should it also printout where it will install the python libraries? Good idea. I'd take that patch. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the In

Re: Resolution of the library-path mess

2017-10-07 Thread Fred Wright via devel
On Sat, 7 Oct 2017, Hal Murray via devel wrote: > If I have PYTHONPATH defined as /usr/local/lib/python2.7/site-packages > Then the python libs get installed in /usr/local/lib/... > If I unset PYTHONPATH, they get installed to /usr/lib/... Doh! (on Eric's behalf) That would be an unfortunate pr

Re: Where to python libraries get installed?

2017-10-07 Thread Fred Wright via devel
On Sat, 7 Oct 2017, Eric S. Raymond via devel wrote: > Hal Murray via devel : > > waf configure prints out: > > PREFIX: /usr/local > > > > Should it also printout where it will install the python libraries? > > Good idea. I'd take that patch. It's already there. Look

Re: Resolution of the library-path mess

2017-10-07 Thread Gary E. Miller via devel
Yo Fred! On Sat, 7 Oct 2017 12:15:27 -0700 (PDT) Fred Wright via devel wrote: > > Having a PYTHONPATH setup could be leftover from when ntpsec needed > > it, or it could be setup because some other package needs it. > > Most likely the former, since reasonable packages don't require > PYTHONP

Re: Resolution of the library-path mess

2017-10-07 Thread Fred Wright via devel
On Sat, 7 Oct 2017, Gary E. Miller via devel wrote: > On Sat, 7 Oct 2017 12:15:27 -0700 (PDT) > Fred Wright via devel wrote: > > > > Makes sense. Fedora is one of the systems where Python doesn't > > include a "local" directory in the sys.path setup by default. > > Of course, no system following

Re: Resolution of the library-path mess

2017-10-07 Thread Gary E. Miller via devel
Yo Fred! On Sat, 7 Oct 2017 12:36:41 -0700 (PDT) Fred Wright via devel wrote: > On Sat, 7 Oct 2017, Gary E. Miller via devel wrote: > > On Sat, 7 Oct 2017 12:15:27 -0700 (PDT) > > Fred Wright via devel wrote: > > > > > > > Makes sense. Fedora is one of the systems where Python doesn't > > >

Re: Resolution of the library-path mess

2017-10-07 Thread Hal Murray via devel
>> Having a PYTHONPATH setup could be leftover from when >> ntpsec needed it, or it could be setup because some other >> package needs it. > Most likely the former, since reasonable packages don't > require PYTHONPATH. :-) It seems reasonably likely to me that anybody geeky enough to be inst

Re: Where to python libraries get installed?

2017-10-07 Thread Hal Murray via devel
>>> Should it also printout where it will install the python libraries? >> Good idea. I'd take that patch. > It's already there. Look at PYTHONDIR towards the end. Thanks. Is that used for anything other that storing python libraries? What is PYTHONARCHDIR used for? -- These are my opinion

Re: Where to python libraries get installed?

2017-10-07 Thread Fred Wright via devel
On Sat, 7 Oct 2017, Hal Murray wrote: > >>> Should it also printout where it will install the python libraries? > >> Good idea. I'd take that patch. > > > It's already there. Look at PYTHONDIR towards the end. > > Thanks. > > Is that used for anything other that storing python libraries? No, i

Re: Where to python libraries get installed?

2017-10-07 Thread Hal Murray via devel
> No, if "storing" includes the code that may clean up old library installs. Ahh... Thanks. That brings up a question I've been wondering about for ages. What sort of cleanup does waf install do? Is that documented anyplace? -- These are my opinions. I hate spam. ___

Re: Where to python libraries get installed?

2017-10-07 Thread Fred Wright via devel
On Sat, 7 Oct 2017, Hal Murray wrote: > > No, if "storing" includes the code that may clean up old library installs. > > Ahh... Thanks. That brings up a question I've been wondering about for ages. > > What sort of cleanup does waf install do? Is that documented anyplace? I don't think instal

Re: Where to python libraries get installed?

2017-10-07 Thread Hal Murray via devel
>> What sort of cleanup does waf install do? Is that documented anyplace? > I don't think install cleans up anything at all. Uninstall removes files > that would be installed by the *current* code, which of course may leave > stuff around if the location or set of files changes. Thanks. There