From abab91b218443b5aa3958453db40126b6ef7253c Mon Sep 17 00:00:00 2001 From: Shyamnath Premnadh Date: Wed, 24 Jan 2024 10:36:15 +0100 Subject: Android Deployment: Remove deprecated options - removed --ignore-git and --skip-docs - Fix some flake8 warnings Task-number: PYSIDE-1612 Change-Id: I76994ddf2f5c26f86ac8d6c2e422ac3764b09c01 Reviewed-by: Friedemann Kleint (cherry picked from commit 1cd5bd554ed4cfb52dd0cd18bc4eace8676fe9d7) Reviewed-by: Qt Cherry-pick Bot --- tools/cross_compile_android/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cross_compile_android/main.py b/tools/cross_compile_android/main.py index 85f9bb73b..2c209aa01 100644 --- a/tools/cross_compile_android/main.py +++ b/tools/cross_compile_android/main.py @@ -257,12 +257,12 @@ if __name__ == "__main__": # run the cross compile script logging.info(f"Running Qt for Python cross-compile for platform {platform_data.plat_name}") qfp_ccompile_cmd = [sys.executable, "setup.py", "bdist_wheel", "--parallel=9", - "--ignore-git", "--standalone", "--limited-api=yes", + "--standalone", "--limited-api=yes", f"--cmake-toolchain-file={str(qfp_toolchain.resolve())}", f"--qt-host-path={qt_install_path}/gcc_64", f"--plat-name=android_{platform_data.plat_name}", f"--python-target-path={python_path}", (f"--qt-target-path={qt_install_path}/" f"android_{platform_data.qt_plat_name}"), - "--no-qt-tools", "--skip-docs", "--unity"] + "--no-qt-tools", "--unity"] run_command(qfp_ccompile_cmd, cwd=pyside_setup_dir, dry_run=dry_run, show_stdout=True) -- cgit v1.2.3