aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/wheel_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/wheel_utils.py')
-rw-r--r--build_scripts/wheel_utils.py3
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('.')]