Skip to content

Commit

Permalink
Setup pyside-deploy
Browse files Browse the repository at this point in the history
Run pyside6-deploy -c zxlive/pysidedeploy.spec
  • Loading branch information
y-richie-y committed Nov 21, 2023
1 parent d076a41 commit 10860a6
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 7 deletions.
7 changes: 0 additions & 7 deletions deploy.py

This file was deleted.

69 changes: 69 additions & 0 deletions zxlive/pysidedeploy.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
[app]
# title of your application
title = ZXLive
# project directory. the general assumption is that project_dir is the parent directory
# of input_file
project_dir = ./zxlive
# source file path
input_file = __main__.py
# directory where exec is stored
exec_directory = ./zxlive
# path to .pyproject project file
project_file =

[python]
# python path
python_path = python
# python packages to install
# ordered-set = increase compile time performance of nuitka packaging
# zstandard = provides final executable size optimization
packages = nuitka==1.5.5,ordered_set,zstandard
# buildozer = for deploying Android application
android_packages = buildozer==1.5.0,cython==0.29.33

[qt]
# comma separated path to qml files required
# normally all the qml files are added automatically
qml_files =
# excluded qml plugin binaries
excluded_qml_plugins =
# path to pyside wheel
wheel_pyside =
# path to shiboken wheel
wheel_shiboken =

[nuitka]
# (str) specify any extra nuitka arguments
# eg = extra_args = --show-modules --follow-stdlib
extra_args = --quiet --noinclude-qt-translations=True
--nofollow-import-to=IPython
--nofollow-import-to=scipy
--nofollow-import-to=pytest
--nofollow-import-to=matplotlib
--nofollow-import-to=pandas
--nofollow-import-to=sympy
--nofollow-import-to=ipywidgets
--nofollow-import-to=tkinter
--include-data-dir=./zxlive/icons=zxlive/icons

[buildozer]
# build mode
# possible options = [release, debug]
# release creates an aab, while debug creates an apk
mode = debug
# contrains path to pyside6 and shiboken6 recipe dir
recipe_dir =
# path to extra qt android jars to be loaded by the application
jars_dir =
# if empty uses default ndk path downloaded by buildozer
ndk_path =
# if empty uses default sdk path downloaded by buildozer
sdk_path =
# modules used. comma separated
modules =
# other libraries to be loaded. comma separated.
local_libs = plugins_platforms_qtforandroid
# architecture of deployed platform
# possible values = ["aarch64", "armv7a", "i686", "x86_64"]
arch =

0 comments on commit 10860a6

Please sign in to comment.