diff options
| author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2022-08-02 23:57:09 +0200 |
|---|---|---|
| committer | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2024-12-03 20:10:46 +0000 |
| commit | 92ee56f805e79d1889aa1f5be158ce062ed4aa7d (patch) | |
| tree | b2cdc3497f132f708687d1cafe007cae5f98abb7 /sources/pyside-tools/deploy_lib/dependency_util.py | |
| parent | 94c66538eaf58d8b5bdb9a03eb11dd6bad83d466 (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
Pick-to: 6.8
Change-Id: Ice0ca9adc37c2652f5ef6ce9e0aec0f2f324206b
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy_lib/dependency_util.py')
0 files changed, 0 insertions, 0 deletions
