Python Library Cleanups

Gary E. Miller gem at rellim.com
Tue Sep 26 21:24:51 UTC 2017


Yo Fred!

On Tue, 26 Sep 2017 14:08:56 -0700 (PDT)
Fred Wright via devel <devel at ntpsec.org> wrote:

> Resending with the correct subject.
> 
> On Tue, 26 Sep 2017, Eric S. Raymond wrote:
> > Fred Wright via devel <devel at ntpsec.org>:  
> > > > Plus these are most likely too late for 1.0.  We are in the
> > > > final testing phases now.  
> > >
> > > I think requiring users to set PYTHONPATH to run the tools should
> > > be considered a show stopper for a 1.0 release.  
> >
> > And I would so regard it if this were ever required on Linux or
> > FreeBSD. I have had no report of this.  
> 
> The documentation used to suggest putting a PYTHONPATH definition in
> one's .bashrc.  That should have set off alarm bells.

That is how it is SUPPOSED to work for user installed source files.

Locally installed user source is supposed to go in /usr/local/.

System packages are supposed to go in /usr/

Not obeying the 30 year old convention of wchich to pick is bad.  But
the new patches put some in /usr and some in /usr/local/which is just
wrong.

This is all per the HFS.

There may be other ways around the PYTHONPATH issues,, but breaking the
FHS is a bad one.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170926/1aa38791/attachment.bin>


More information about the devel mailing list