Guess it's time to close this one about the Python scheme to use with
Debian. We'll see how it turns out with the next pretest ... --thanks, karl.
Hi Stefano,
I'm not aware of anyone else using posix_local.
Well, I don't know how to check for the deb_system scheme being
present, so I made the assumption. How does this change look?
Are the descriptions correct?
I also pulled out the common "scheme-setting" code into a variable.
Thanks,
Hi Karl (2024.01.18_22:58:30_+)
> if default_scheme == 'posix_local': # Debian
>
> posix_local only exists on Debian, not any other system?
> The name is generic.
Yes, it's a Debianism. It was the best way to get "setup.py install" to
direct to /usr/local by default, on Debian systems, a
Hi Stefano,
returning automake behaviour back to what it used to be.
That seems like a good outcome to me. I wasn't actually looking to
improve on that result :).
if default_scheme == 'posix_local': # Debian
posix_local only exists on Debian, not any other system?
The name is generic.
Hi Karl (2024.01.17_22:48:30_+)
> Gianfranoc, Stefano - thanks much for the patch wrt Automake and Debian
> Python posix_local vs. posix_prefix. Below is what I installed -- the
> code change is substantively the same as what you wrote; I just took the
> extra try..catch that Bogdan added.
>
>
Gianfranoc, Stefano - thanks much for the patch wrt Automake and Debian
Python posix_local vs. posix_prefix. Below is what I installed -- the
code change is substantively the same as what you wrote; I just took the
extra try..catch that Bogdan added.
I changed the paragraph in the manual about pyt
Hi Karl (2022.03.16_21:25:45_+)
Oops, somehow I missed that this patch failed on older versions of
cPython. This version is compatible back to 2.7.4.
SR
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
From b07451795dc4626ca348cd1fd743d41a87daca61 Mon Sep 17 00:00:00 2001
Fro
Hi Karl (2022.03.16_21:25:45_+)
> Stefano, Gianfranco - thanks for this. Forgive my ignorance, but I don't
> use Debian, or Python, and have never the term "sysconfig scheme" before.
Compare these:
$ python3.9 -m sysconfig
Current installation scheme: "posix_prefix"
Paths:
data = "/
Stefano, Gianfranco - thanks for this. Forgive my ignorance, but I don't
use Debian, or Python, and have never the term "sysconfig scheme" before.
Does your patch change the default behavior of Automake? I gather not,
but ...
Also, it feels like there should be some documentation about this.
Can
Fixes Debian's bug: https://bugs.debian.org/1006784
Debian adds a custom sysconfig scheme to system python installs,
"posix_local". This is the default scheme, and it redirects local users'
Python module installs to /usr/local even though Python is installed
with a /usr prefix. Both are on Debian'
10 matches
Mail list logo