aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-03-18 11:50:52 +0100
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-03-30 16:46:18 +0200
commita72239ef610940910b6375f638c0708cd1da97ff (patch)
tree4664447e6871787ba08d61ef6aba8991aa658fe4 /build_scripts/utils.py
parent1a399495fe46013b35eb263761009de8940aa6f0 (diff)
build: update wheel names
- Removing extra cpX arguments from the wheel name - Use PEP600 to include the glibc version on the wheel name, instead of manylinux1. - Use 'abi3' on windows instead of 'none', because it's already supported on Windows Change-Id: I312586b72d38f2c5c4835ba5040d064e44c80e29 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/utils.py')
-rw-r--r--build_scripts/utils.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/build_scripts/utils.py b/build_scripts/utils.py
index cd64bd7bf..3f9c3dd25 100644
--- a/build_scripts/utils.py
+++ b/build_scripts/utils.py
@@ -63,7 +63,6 @@ except ModuleNotFoundError:
# so then the coin_build_instructions.py script is executed, and
# import from this file, it was failing.
from distutils import log
- from distutils import errors
try:
WindowsError
@@ -71,6 +70,10 @@ except NameError:
WindowsError = None
+def is_64bit():
+ return sys.maxsize > 2147483647
+
+
def filter_match(name, patterns):
for pattern in patterns:
if pattern is None: