Yo Hal! On Thu, 04 Nov 2021 23:43:55 -0700 Hal Murray via devel <[email protected]> wrote:
> On debian, they get installed in
> /usr/local/lib/python3/dist-packages/ntp
>
> On Fedora, they go in /usr/local/lib64/python3.9/site-packages/ntp
Gentoo:
/usr/local/lib/python3.9/site-packages/
> I'm interested in the python3.9 vs python3 (not the lib vs lib64 or
> site- vs dist-).
"python3" means you can not have multiple Python versions installed
at the same time. Bad.
I usually have 5 or 6 different Python's installed at the same time.
Makes it easy to test. Not possible with lib/python3.
"dist-packages" is reserved for distribution use. So avoiud them.
"site-packages" is for user installed packages.
You think that is confusing? Check out virtual_env, and these
PEP 370 -- Per user site-packages directory
And there are proposals to make it much more "interesting".
> Which is better, why?
Always better to go with what your distro wants.
> How does waf decide where to put things?
No idea...
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
[email protected] Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpRaVdZJWfMM.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list [email protected] http://lists.ntpsec.org/mailman/listinfo/devel
