diff options
author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2023-02-08 16:58:39 +0100 |
---|---|---|
committer | Shyamnath Premnadh <shyamnath.premnadh@qt.io> | 2023-03-31 13:29:32 +0200 |
commit | 95abfa776411b6d7cd4296adf63bc7abce2270b6 (patch) | |
tree | 74e51c8c6d28044a60011158215919ab223d6fa5 /sources/pyside-tools/android_deploy.pyproject | |
parent | 94b30c7207bea2467f0d7e41e99af27ecc749ed5 (diff) |
Deployment: New pyside6-android-deploy tool
- Preliminary support for PySide6 Android deployment
- Uses jinja2 to create PySide6 and shiboken6 recipes, to be used
by buildozer when python_for_android builds the app distribution
- Classes for Buildozer config interaction
- Run deployment to android. Typical command looks like:
"""
pyside6-android-deploy
--wheel-pyside=./PySide6-6.5.0a1-6.5.0-cp37-abi3-android_x86_64.whl
--wheel-shiboken=./shiboken6-6.5.0a1-6.5.0-cp37-abi3-android_x86_64.whl
--name=stringlistmodel
"""
- New entrypoint for pyside6-android-deploy
- Helper functinos for Android Deployment
- Remove unused function main_py_exists()
- Added the new files to deploy.pyproject
- Remove dry_run argument from install_python_dependencies()
- new Python packages added in requirements.txt to enable the
deploy and cross compile tool
Note: python-for-android uses my local fork. This will be changed
once it is merged into python-for-android dev.
Task-number: PYSIDE-1612
Pick-to: 6.5
Change-Id: I7eb96fa5507a476b4e86ec0195a5e9869f0f85fd
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/pyside-tools/android_deploy.pyproject')
-rw-r--r-- | sources/pyside-tools/android_deploy.pyproject | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sources/pyside-tools/android_deploy.pyproject b/sources/pyside-tools/android_deploy.pyproject new file mode 100644 index 000000000..f976cb5a6 --- /dev/null +++ b/sources/pyside-tools/android_deploy.pyproject @@ -0,0 +1,9 @@ +{ + "files": ["deploy.py", "deploy_lib/__init__.py", "deploy_lib/commands.py", "deploy_lib/config.py", + "deploy_lib/default.spec", "deploy_lib/python_helper.py", "deploy_lib/deploy_util.py", + "deploy_lib/android/recipes/PySide6/__init__.tmpl.py", + "deploy_lib/android/recipes/shiboken6/__init__.tmpl.py", + "deploy_lib/android/__init__.py", "deploy_lib/android/android_helper.py", + "deploy_lib/android/buildozer.py" + ] +} |