bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35322: AM_PATH_PYTHON incompatible with Python frameworks on macOS


From: Joshua Root
Subject: bug#35322: AM_PATH_PYTHON incompatible with Python frameworks on macOS
Date: Sat, 27 Feb 2021 06:18:41 +1100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

How about this? It bases the default values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX on sys.prefix and sys.exec_prefix respectively, which the documentation has long said might happen. Behaviour should not change in the case that sys.prefix = $prefix. The variables can still be overridden; e.g. PYTHON_PREFIX is defined with reference to $prefix if the former is a subdir of (or the same as) the latter, and pythondir is defined with reference to $PYTHON_PREFIX.

There's also a fix for an apparent bug where $am_py_prefix was used instead of $am_py_exec_prefix when setting up the value of pyexecdir.

- Josh

Attachment: use-sys.prefix-for-PYTHON_PREFIX.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]