aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/deploy_lib/android/android_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside-tools/deploy_lib/android/android_helper.py')
-rw-r--r--sources/pyside-tools/deploy_lib/android/android_helper.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/sources/pyside-tools/deploy_lib/android/android_helper.py b/sources/pyside-tools/deploy_lib/android/android_helper.py
index b26a7a69b..f9398d7ed 100644
--- a/sources/pyside-tools/deploy_lib/android/android_helper.py
+++ b/sources/pyside-tools/deploy_lib/android/android_helper.py
@@ -6,7 +6,6 @@ import logging
import zipfile
from dataclasses import dataclass
from pathlib import Path
-from typing import List, Set
from zipfile import ZipFile
from jinja2 import Environment, FileSystemLoader
@@ -26,8 +25,8 @@ class AndroidData:
def create_recipe(version: str, component: str, wheel_path: str, generated_files_path: Path,
- qt_modules: List[str] = None, local_libs: List[str] = None,
- plugins: List[str] = None):
+ qt_modules: list[str] = None, local_libs: list[str] = None,
+ plugins: list[str] = None):
'''
Create python_for_android recipe for PySide6 and shiboken6
'''
@@ -95,7 +94,7 @@ def get_llvm_readobj(ndk_path: Path) -> Path:
return (ndk_path / f"toolchains/llvm/prebuilt/{sys.platform}-x86_64/bin/llvm-readobj")
-def find_lib_dependencies(llvm_readobj: Path, lib_path: Path, used_dependencies: Set[str] = None,
+def find_lib_dependencies(llvm_readobj: Path, lib_path: Path, used_dependencies: set[str] = None,
dry_run: bool = False):
"""
Find all the Qt dependencies of a library using llvm_readobj