GNU bug report logs - #74434
[PATCH] py-compile: Allow user to disable python

Previous Next

Package: automake-patches;

Reported by: Frédéric Bérat <fberat <at> redhat.com>

Date: Tue, 19 Nov 2024 09:55: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 #20 received at 74434 <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: fberat <at> redhat.com
Cc: 74434 <at> debbugs.gnu.org
Subject: Re: [bug#74434] [PATCH] py-compile: Allow user to disable python
Date: Sat, 23 Nov 2024 19:04:32 -0700
    +case "$PYTHON" in
    +  *python*) ;;
    +  *)
    +  echo "$me: Invalid python executable ${PYTHON}";
    +  echo "$me: Python support disabled";
    +  exit 0;;
    +esac

Thanks. But I'm not sure about requiring the executable name to include
"python". Apart from technically being against GNU standards, I can
imagine people making a link named anything and then using that. For
whatever reason.

Maybe it would suffice to run $PYTHON -V and see if the result matches
grep -i python?

I don't have Python 2.0 (the oldest we claim to support, though I have
my doubts), but it works with Python 2.7.

$ python2.7 -V
Python 2.7.18

Wdyt? --thanks, karl.




This bug report was last modified 161 days ago.

Previous Next


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