-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCompressMe-linux.spec
More file actions
52 lines (47 loc) · 1.65 KB
/
Copy pathCompressMe-linux.spec
File metadata and controls
52 lines (47 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*- mode: python ; coding: utf-8 -*-
from PyInstaller.utils.hooks import collect_all
datas = [('src', 'src'), ('NEW_ICON_CompressMe.png', '.')]
binaries = []
hiddenimports = ['PySide6.QtCore', 'PySide6.QtGui', 'PySide6.QtWidgets', 'PIL', 'PIL.Image', 'numpy', 'rawpy', 'piexif', 'imagehash', 'pillow_heif', 'pillow_avif_plugin', 'magic', 'tqdm', 'rich', 'src.backend.engine', 'src.backend.hashing', 'src.backend.reporter', 'src.backend.utils', 'src.backend.constants', 'src.gui.main_window', 'src.gui.theme', 'src.gui.icons', 'src.gui.window', 'src.gui.compress_page', 'src.gui.dashboard_page', 'src.gui.settings_page', 'src.gui.history_page', 'src.gui.reports_page', 'src.gui.about_page', 'src.gui.worker', 'src.gui.widgets', 'src.config.settings', 'src.config.version', 'src.updater', 'src.updater.update_service']
tmp_ret = collect_all('PySide6')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
a = Analysis(
['main.py'],
pathex=[],
binaries=binaries,
datas=datas,
hiddenimports=hiddenimports,
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=['scipy', 'scipy.*', 'numpy.testing'],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='CompressMe',
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='CompressMe',
)