-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclient.linux.spec
47 lines (42 loc) · 1.65 KB
/
client.linux.spec
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
# SPDX-License-Identifier: AGPL-3.0-or-later
# Copyright (C) 2018-2022 Andrew Rechnitzer
# Copyright (C) 2020-2025 Colin B. Macdonald
# Copyright (C) 2024 Bryan Tanady
from pathlib import Path
import spellchecker
from plomclient import __version__
block_cipher = None
dict_path = spellchecker.__path__[0] + '/resources'
a = Analysis(['plomclient/client/__main__.py'],
pathex=['./'],
binaries=[(dict_path, 'spellchecker/resources')],
datas=[
('plomclient/client/icons/*.svg', 'plomclient/client/icons'),
('plomclient/client/icons/*.png', 'plomclient/client/icons'),
('plomclient/client/cursors/*.png', 'plomclient/client/cursors'),
('plomclient/client/ui_files/*.ui', 'plomclient/client/ui_files'),
('plomclient/client/help_img/nav*.png', 'plomclient/client/help_img'),
('plomclient/client/help_img/click_drag.gif', 'plomclient/client/help_img'),
('plomclient/*keys.toml', 'plomclient/'),
],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='PlomClient-{}-linux.bin'.format(__version__),
debug=False,
strip=False,
onefile=True,
upx=True,
runtime_tmpdir=None,
console=True )