aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-08-02 23:57:09 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-12-03 21:08:11 +0000
commit5bcaac8abeec1f79ea1a7ffdbba9f96e7f6c6639 (patch)
treee6a8d2d8c9dc7a7b12697be5c61a4a165f6a03e4 /build_scripts/utils.py
parent76fbc172f60386cc6e751ce96d3f7d2b76f2f68a (diff)
build: use posix_prefix to get installation path
On Debian, Python 3.10 introduced some changes to the scheme in the system, defaulting to 'posix_local' instead of the 'posix_user' which was previously used, and is currently used in other Linux distributions. For example, these values got changed from (posix_user): data = '/usr' platlib = '/usr/lib/python3.10/site-packages' purelib = '/usr/lib/python3.10/site-packages' to (posix_local): data = '/usr/local' platlib = '/usr/lib/python3.10/dist-packages' purelib = '/usr/lib/python3.10/dist-packages' This change forces the usage of the 'posix_user' scheme. Fixes: PYSIDE-2003 Change-Id: Ice0ca9adc37c2652f5ef6ce9e0aec0f2f324206b Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 92ee56f805e79d1889aa1f5be158ce062ed4aa7d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'build_scripts/utils.py')
0 files changed, 0 insertions, 0 deletions