summaryrefslogtreecommitdiffstats
path: root/scripts/packagetesting
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-02-06 10:30:01 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-02-06 11:40:16 +0100
commitc2cd44d6fd6ab1ea2e19efa03bf06cfae52a992a (patch)
treeb4f04ab52b38325a8939a70b9891e266778efbf9 /scripts/packagetesting
parent2dba0512dd6ebb088932825ff0cb2663c57a461b (diff)
testwheel.py: Adapt the distribution check
Wheels have underscores in 6.6.2. Pick-to: master Change-Id: Ib916326b6d098029b50358a858f505a5295c69cd Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Diffstat (limited to 'scripts/packagetesting')
-rw-r--r--scripts/packagetesting/testwheel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/packagetesting/testwheel.py b/scripts/packagetesting/testwheel.py
index b4b5a3eb..01b5c8c6 100644
--- a/scripts/packagetesting/testwheel.py
+++ b/scripts/packagetesting/testwheel.py
@@ -93,9 +93,9 @@ def get_installed_wheels(examples_root):
"""Determine install type."""
# 6.5: Examples are no longer in wheels
if VERSION >= (6, 5, 0):
- if has_module("PySide6-M2M"):
+ if has_module("PySide6_M2M") or has_module("PySide6-M2M"):
return InstalledWheels.M2M
- if has_module("PySide6-Addons"):
+ if has_module("PySide6_Addons") or has_module("PySide6-Addons"):
return InstalledWheels.AddOns
return InstalledWheels.Essentials