aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/pyside_tool.py
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-05-31 14:12:48 +0200
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-06-14 10:54:36 +0200
commit7093016a138b79c335272d40ee7487bf19282541 (patch)
tree6d25656f654c5c0ec700f668e0c1315492757569 /sources/pyside-tools/pyside_tool.py
parent2d31f7becfa91d34d7199eba0ac0af6e5485af71 (diff)
Android Deployment: Enable pyside6-android-deploy in macOS
- enable the tool for macOS - add dependency .xml to the Android wheels Pick-to: 6.7 Task-number: PYSIDE-2766 Change-Id: I77495466b8a9cc3565c640beac202d533ee1d2a6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/pyside_tool.py')
-rw-r--r--sources/pyside-tools/pyside_tool.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sources/pyside-tools/pyside_tool.py b/sources/pyside-tools/pyside_tool.py
index b369be8a2..f68b3185e 100644
--- a/sources/pyside-tools/pyside_tool.py
+++ b/sources/pyside-tools/pyside_tool.py
@@ -214,8 +214,9 @@ def deploy():
def android_deploy():
- if not sys.platform == "linux":
- print("pyside6-android-deploy only works from a Linux host")
+ if sys.platform == "win32":
+ print("pyside6-android-deploy only works from a Unix host and not a Windows host",
+ file=sys.stderr)
else:
android_requirements_file = Path(__file__).parent / "requirements-android.txt"
with open(android_requirements_file, 'r', encoding='UTF-8') as file: