Skip to content

Commit 81bcc4e

Browse files
committed
add pysidedeploy file
1 parent e5ea2df commit 81bcc4e

2 files changed

Lines changed: 72 additions & 3 deletions

File tree

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
!pysidedeploy.spec
2-
31
## PySide6
42
/pyside*_build
53
/pyside*_install
@@ -92,7 +90,6 @@ MANIFEST
9290

9391
# PyInstaller
9492
*.manifest
95-
*.spec
9693

9794
# Installer logs
9895
pip-log.txt

app/pysidedeploy.spec

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
[app]
2+
# title of your application
3+
title = Calculator
4+
# project directory. the general assumption is that project_dir is the parent directory
5+
# of input_file
6+
project_dir = .
7+
# source file path
8+
input_file = C:\Users\vrjl2\Downloads\Luis\Py-Calculator\app\main.py
9+
# directory where exec is stored
10+
exec_directory = ../calculator.exe
11+
# path to .pyproject project file
12+
project_file =
13+
# application icon
14+
icon = C:\Users\vrjl2\Downloads\Luis\Py-Calculator\app\resources\images\logo.png
15+
16+
[python]
17+
# python path
18+
python_path = c:\Users\vrjl2\Downloads\Luis\Py-Calculator\.venv\Scripts\python.exe
19+
# python packages to install
20+
# ordered-set = increase compile time performance of nuitka packaging
21+
# zstandard = provides final executable size optimization
22+
packages = Nuitka==2.1
23+
# buildozer = for deploying Android application
24+
android_packages = buildozer==1.5.0,cython==0.29.33
25+
26+
[qt]
27+
# comma separated path to qml files required
28+
# normally all the qml files required by the project are added automatically
29+
qml_files =
30+
# excluded qml plugin binaries
31+
excluded_qml_plugins =
32+
# qt modules used. comma separated
33+
modules = Gui,Core,Widgets
34+
# qt plugins used by the application
35+
plugins = accessiblebridge,xcbglintegrations,platforms,platformthemes,generic,platforms/darwin,platforminputcontexts,iconengines,egldeviceintegrations,styles,imageformats
36+
37+
[android]
38+
# path to pyside wheel
39+
wheel_pyside =
40+
# path to shiboken wheel
41+
wheel_shiboken =
42+
# plugins to be copied to libs folder of the packaged application. comma separated
43+
plugins =
44+
45+
[nuitka]
46+
# usage description for permissions requested by the app as found in the info.plist file
47+
# of the app bundle
48+
# eg = extra_args = --show-modules --follow-stdlib
49+
macos.permissions =
50+
# (str) specify any extra nuitka arguments
51+
extra_args = --quiet --noinclude-qt-translations --disable-console
52+
53+
[buildozer]
54+
# build mode
55+
# possible options = [release, debug]
56+
# release creates an aab, while debug creates an apk
57+
mode = debug
58+
# contrains path to pyside6 and shiboken6 recipe dir
59+
recipe_dir =
60+
# path to extra qt android jars to be loaded by the application
61+
jars_dir =
62+
# if empty uses default ndk path downloaded by buildozer
63+
ndk_path =
64+
# if empty uses default sdk path downloaded by buildozer
65+
sdk_path =
66+
# other libraries to be loaded. comma separated.
67+
# loaded at app startup
68+
local_libs =
69+
# architecture of deployed platform
70+
# possible values = ["aarch64", "armv7a", "i686", "x86_64"]
71+
arch =
72+

0 commit comments

Comments
 (0)