[bug#54412] [PATCH] python: use the posix_prefix sysconfig scheme on Debian

2022-03-16 Thread stefanor
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 = "/

[bug#54412] [PATCH] python: use the posix_prefix sysconfig scheme on Debian

2022-03-18 Thread stefanor
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

[bug#54412] [PATCH] python: use the posix_prefix sysconfig scheme on Debian

2024-01-17 Thread stefanor
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. > >

[bug#54412] [PATCH] python: use the posix_prefix sysconfig scheme on Debian

2024-01-18 Thread stefanor
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