Python libs on Debian/Raspbian
Gary E. Miller
gem at rellim.com
Tue Dec 19 02:40:15 UTC 2017
Yo Achim!
On Sat, 09 Dec 2017 10:18:57 +0100
Achim Gratz via devel <devel at ntpsec.org> wrote:
> There are at least three different way of installing _anything_ (let's
> leave the details of Python and the various distro conventions aside
> for the moment):
>
> 1. System-wide, distribution-blessed installation (aka packaging).
> 2. System-wide, local installation.
> 3. User installation.
Agreed.
> Now, as far as packaging is concerned, the correct location(s) are
> defined by the distribution. If ntpsec wouldn't use something as
> obscure as waf for doing the build & installation the distro tool
> chain would most likely do the right thing out of the box and we'd
> not even have that part of the discussion.
Whoa! Hold up right there. waf has absolutely nothing to do with
#1 above in any binary distro. To prepare a package for a binary distro
the maintainer actually does a #3, then puts the binaries, man pages,
config files, etc. into a distro spacific package file.
As for #2 and #3, pretty much every package I install from source
has the user specify a prefix (--prefix-XXX). The same for waf,
autoconfuse, scons, etc. The only issue is which type install (#1, #2,
or #3) is the default. The other two always need an override like --prefix
> 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.
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/4237eea6/attachment.bin>
More information about the devel
mailing list