diff options
author | Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-01-04 11:55:13 +0100 |
---|---|---|
committer | Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-01-05 09:59:52 +0100 |
commit | 3f6c13dc7b4241c924b0b4366e3cbc94572737b7 (patch) | |
tree | 9521fde30893be992ed3ccb02d628f747e4b3ce3 /build_scripts | |
parent | b3a8c9898cca52b63d270a54651ec71de9b32238 (diff) |
build_scripts: fix get_config_var for Big Sur
get_config_var(...) returns an integer so the split
fails.
Pick-to: 6.0
Fixes: PYSIDE-1469
Change-Id: Iadf76c523dfca78c8b8d85511d06dc366de6273f
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts')
-rw-r--r-- | build_scripts/wheel_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_scripts/wheel_utils.py b/build_scripts/wheel_utils.py index a976e2bce..cea45b107 100644 --- a/build_scripts/wheel_utils.py +++ b/build_scripts/wheel_utils.py @@ -124,7 +124,8 @@ def macos_pyside_min_deployment_target(): qt_target_split = [int(x) for x in qt_target.split('.')] if python_target: - python_target_split = [int(x) for x in python_target.split('.')] + # macOS Big Sur returns a number not a string + python_target_split = [int(x) for x in str(python_target).split('.')] if setup_target: setup_target_split = [int(x) for x in setup_target.split('.')] |