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

From: [email-masked]
Date: Thu, 18 Jan 2024 23:29:28 +0000

Hi Karl (2024.01.18_22:58:30_+0000)
>     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, at the time. And
we've had to carry that API since.

> In any case, I guess it would be safe if it's possible to check if the
> deb_system scheme exists, and only do the special casing if both
> posix_local and deb_system are present.

Yeah that sounds nice and safe. But I'm not aware of anyone else using
posix_local.

Stefano

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272