[InterNetNews/inn] 3c3483: Request posix_prefix paths from Python sysconfig
noreply at github.com
Sat Oct 16 20:56:21 UTC 2021
Author: Russ Allbery <eagle at eyrie.org>
Date: 2021-10-16 (Sat, 16 Oct 2021)
Request posix_prefix paths from Python sysconfig
When using the Python sysconfig module to determine paths,
explicitly request the posix_prefix scheme. This is the default
in current versions of Python, but in Python 2.7 as packaged in
Debian buster, the default scheme is posix_local. This breaks
determination of the include path for Python.h, since it instead
returns the include path used for locally-installed modules.
Explicitly requesting the posix_prefix scheme avoids this problem.
More information about the inn-committers