]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-1294959: Add sys.platlibdir attribute (GH-18381)
authorVictor Stinner <vstinner@python.org>
Tue, 10 Mar 2020 08:53:09 +0000 (09:53 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Mar 2020 08:53:09 +0000 (09:53 +0100)
commit8510f430781118d9b603c3a2f06945d6ebc5fe42
tree511cb42b478dd031ff36297a5e0c78b27a4e77a2
parent700cb587303461d5a96456c56902cfdd8ad50e2d
bpo-1294959: Add sys.platlibdir attribute (GH-18381)

Add --with-platlibdir option to the configure script: name of the
platform-specific library directory, stored in the new sys.platlitdir
attribute. It is used to build the path of platform-specific dynamic
libraries and the path of the standard library.

It is equal to "lib" on most platforms. On Fedora and SuSE, it is
equal to "lib64" on 64-bit systems.

Co-Authored-By: Jan Matějek <jmatejek@suse.com>
Co-Authored-By: Matěj Cepl <mcepl@cepl.eu>
Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com>
16 files changed:
Doc/library/sys.rst
Doc/whatsnew/3.9.rst
Lib/distutils/command/install.py
Lib/distutils/sysconfig.py
Lib/distutils/tests/test_install.py
Lib/site.py
Lib/sysconfig.py
Lib/test/test_embed.py
Lib/test/test_site.py
Makefile.pre.in
Misc/NEWS.d/next/Build/2020-02-06-18-08-25.bpo-1294959.AZPg4R.rst [new file with mode: 0644]
Modules/getpath.c
PC/pyconfig.h
Python/sysmodule.c
configure
configure.ac