GNU bug report logs - #54412
[PATCH] python: use the posix_prefix sysconfig scheme on Debian

Previous Next

Package: automake-patches;

Reported by: Stefano Rivera <stefanor <at> debian.org>

Date: Tue, 15 Mar 2022 23:43:02 UTC

Severity: normal

Tags: patch

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 54412 <at> debbugs.gnu.org (full text, mbox):

From: stefanor <at> debian.org
To: Karl Berry <karl <at> freefriends.org>
Cc: locutusofborg <at> debian.org, 54412 <at> debbugs.gnu.org
Subject: Re: [bug#54412] [PATCH] python: use the posix_prefix sysconfig
 scheme on Debian
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




This bug report was last modified 1 year and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.