diff options
author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2023-09-29 16:15:41 +0200 |
---|---|---|
committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2023-10-23 12:26:07 +0200 |
commit | b77586da0e7041501c5456f229d1c80b68a78e64 (patch) | |
tree | c343aa2da88e56bb278b3311fe6001d5c81fe8fb /sources/pyside-tools/android_deploy.py | |
parent | 566a2164fea3a7fbeda9307ba91ed145b8cc4b52 (diff) |
Deployment cleanup: isort and flake8
Task-number: PYSIDE-1612
Pick-to: 6.6
Change-Id: I620582409749b1ce1e36721f1308005c4f6d2828
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/android_deploy.py')
-rw-r--r-- | sources/pyside-tools/android_deploy.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/sources/pyside-tools/android_deploy.py b/sources/pyside-tools/android_deploy.py index 8c4f909db..8ac8aa510 100644 --- a/sources/pyside-tools/android_deploy.py +++ b/sources/pyside-tools/android_deploy.py @@ -8,11 +8,11 @@ import traceback from pathlib import Path from textwrap import dedent -from deploy_lib import (setup_python, get_config, cleanup, install_python_dependencies, - config_option_exists, find_pyside_modules, MAJOR_VERSION) -from deploy_lib.android import (extract_and_copy_jar, get_wheel_android_arch, - Buildozer, AndroidData) - +from deploy_lib import (MAJOR_VERSION, cleanup, config_option_exists, + find_pyside_modules, get_config, + install_python_dependencies, setup_python) +from deploy_lib.android import (AndroidData, Buildozer, extract_and_copy_jar, + get_wheel_android_arch) """ pyside6-android-deploy deployment tool @@ -166,9 +166,10 @@ def main(name: str = None, pyside_wheel: Path = None, shiboken_wheel: Path = Non if not dry_run: buildozer_build_dir = config.project_dir / ".buildozer" if not buildozer_build_dir.exists(): - logging.info(f"[DEPLOY] Unable to copy {buildozer_build_dir} to {generated_files_path}" - f"{buildozer_build_dir} does not exist") - logging.info(f"[DEPLOY] copy {buildozer_build_dir} to {generated_files_path}") + logging.info(f"[DEPLOY] Unable to copy {buildozer_build_dir} to " + f"{generated_files_path}. {buildozer_build_dir} does not exist") + logging.info(f"[DEPLOY] Copying {str(buildozer_build_dir)} to " + f"{str(generated_files_path)}") shutil.move(buildozer_build_dir, generated_files_path) logging.info(f"[DEPLOY] apk created in {config.exe_dir}") |