summaryrefslogtreecommitdiff
path: root/azrechner.spec
diff options
context:
space:
mode:
authormatin <matin.kaufmann@gmail.com>2025-10-08 00:20:32 +0200
committermatin <matin.kaufmann@gmail.com>2025-10-08 00:20:32 +0200
commita7fde5718214affd82ba0c984269d5603bcf0f31 (patch)
tree4e5d4d0f6f7ee92270152bb82fb2a86f8e2da876 /azrechner.spec
parent82ae397082aaa1c18ea21b0dd5ed62373ab58b79 (diff)
specfile for reduced size of package
Diffstat (limited to 'azrechner.spec')
-rw-r--r--azrechner.spec51
1 files changed, 51 insertions, 0 deletions
diff --git a/azrechner.spec b/azrechner.spec
new file mode 100644
index 0000000..b869447
--- /dev/null
+++ b/azrechner.spec
@@ -0,0 +1,51 @@
+# -*- mode: python ; coding: utf-8 -*-
+from PyInstaller.utils.hooks import collect_all
+
+datas = []
+binaries = []
+hiddenimports = []
+tmp_ret = collect_all('reportlab.graphics.barcode')
+datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
+
+
+a = Analysis(
+ ['calendar_gui.py'],
+ pathex=[],
+ binaries=binaries,
+ datas=datas,
+ hiddenimports=hiddenimports,
+ hookspath=[],
+ hooksconfig={},
+ runtime_hooks=[],
+ excludes=['scipy'],
+ noarchive=False,
+ optimize=0,
+)
+pyz = PYZ(a.pure)
+
+exe = EXE(
+ pyz,
+ a.scripts,
+ [],
+ exclude_binaries=True,
+ name='azrechner',
+ debug=False,
+ bootloader_ignore_signals=False,
+ strip=False,
+ upx=True,
+ console=False,
+ disable_windowed_traceback=False,
+ argv_emulation=False,
+ target_arch=None,
+ codesign_identity=None,
+ entitlements_file=None,
+)
+coll = COLLECT(
+ exe,
+ a.binaries,
+ a.datas,
+ strip=False,
+ upx=True,
+ upx_exclude=[],
+ name='azrechner',
+)