1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Revert "Replace use of deprecated Python module distutils.sysconfig"

This reverts commit e0e567a106.

On various platforms, the new approach using the sysconfig module
reported incorrect values for the include directory, and so any
Python-related compilations failed.  Revert for now and revisit later.
This commit is contained in:
Peter Eisentraut
2022-01-18 17:42:29 +01:00
parent d143150843
commit dda42ff8e6
3 changed files with 31 additions and 31 deletions

View File

@ -195,8 +195,8 @@ su - postgres
To build the <application>PL/Python</application> server programming
language, you need a <productname>Python</productname>
installation with the header files and
the <application>sysconfig</application> module. The minimum
required version is <productname>Python</productname> 2.7.
the <application>distutils</application> module. The minimum
required version is <productname>Python</productname> 2.6.
<productname>Python 3</productname> is supported if it's
version 3.1 or later; but see
<xref linkend="plpython-python23"/>