Python libs on Debian/Raspbian

Gary E. Miller gem at rellim.com
Tue Dec 19 03:02:43 UTC 2017


Yo Hal!

On Mon, 18 Dec 2017 18:50:49 -0800
Hal Murray via devel <devel at ntpsec.org> wrote:

> >> 1. System-wide, distribution-blessed installation (aka packaging).
> >> 2. System-wide, local installation.
> >> 3. User installation.  
> 
> >> I don't see user installations as a real thing for ntpd, but the
> >> user space control and monitoring tool tools might be a different
> >> story.  
> 
> > We need it because when the maintainer builds a binary package he
> > first does a #3 (local install.   
> 
> We also need a way to setup for testing.  "installing" in a specified 
> directory rather than running out of ./build/main/ntpclients/ lets us
> test that the install recipe copies over all the needed files.

That is just case #3.  Where --prefix=~/ntpd or similar

> I can get the right executables by using ./
> Is there a convenient way to disable the installed copy of our python 
> libraries?

PYTHONPATH, sys.path, or site.addsitedir(), the same options we keep
dancing around.

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/20171218/bc0cb252/attachment.bin>


More information about the devel mailing list