aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/main.py
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2018-06-15 12:49:28 +0300
committerSimo Fält <simo.falt@qt.io>2018-06-25 04:34:54 +0000
commitd2ef2acc1a58ef5c2006c224fa90aec9c77c4399 (patch)
tree6f5a314fd01680405b655f19938d374827dc5828 /build_scripts/main.py
parentf0179e7e9c19415f1142b366a248ecfce09ad006 (diff)
Extract Qt Win dependencies to be included in wheels
Task-number: PYSIDE-696 Change-Id: I20a4f80acceee5c056217a6c92e3b494ec34020d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'build_scripts/main.py')
-rw-r--r--build_scripts/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py
index 616cff60..8d3a58eb 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -466,6 +466,7 @@ class PysideBuild(_build):
self.py_include_dir = None
self.py_library = None
self.py_version = None
+ self.py_arch = None
self.build_type = "Release"
self.qtinfo = None
self.build_tests = False
@@ -474,6 +475,7 @@ class PysideBuild(_build):
prepare_build()
platform_arch = platform.architecture()[0]
log.info("Python architecture is {}".format(platform_arch))
+ self.py_arch = platform_arch[:-3]
build_type = "Debug" if OPTION_DEBUG else "Release"
if OPTION_RELWITHDEBINFO:
@@ -1139,6 +1141,7 @@ class PysideBuild(_build):
"qt_prefix_dir": self.qtinfo.prefix_dir,
"qt_translations_dir": self.qtinfo.translations_dir,
"qt_qml_dir": self.qtinfo.qml_dir,
+ "target_arch": self.py_arch,
}
os.chdir(self.script_dir)