-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgui.spec
65 lines (59 loc) · 2.54 KB
/
gui.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- mode: python ; coding: utf-8 -*-
# This spec file is used to generate a Windows executable for Target Analysis.
# Make sure to set pathex to the correct path to the directory containing Target Analysis.
# The path is currently set for my machine, which will likey be different for you.
# I set the folder name to 'Target-Analysis - Copy' because I just make a copy of the source folder and Windows names it like that.
# To build this spec file, run the following command: 'pyinstaller gui.spec'
# The built data will be inside the folder 'dist/TargetAnalysis'
# For user frienldlyness, I hide all folders and files that are not needed inside that directory that the user doesn't need to interact with.
block_cipher = None
a = Analysis(['gui.pyw'],
pathex=['D:\\Libraries\\Documents\\GitHub\\Target-Analysis-Build\\Target-Analysis'],
binaries=[],
datas=[
("assets/*.png", "assets"),
("assets/*.ico", "assets"),
("assets/sun-valley/*", "assets/sun-valley"),
("assets/sun-valley/theme/*", "assets/sun-valley/theme"),
("assets/sun-valley/theme/dark/*", "assets/sun-valley/theme/dark"),
("assets/sun-valley/theme/light/*", "assets/sun-valley/theme/light"),
("assets/wia-cmd-scanner/*", "assets/wia-cmd-scanner"),
("data/.gitkeep", "data"),
("help/*", "help"),
("images/*", "images"),
("images/output/.gitkeep", "images/output"),
("./*.md", ".")],
hiddenimports=[],
hookspath=[],
hooksconfig={},
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,
[],
exclude_binaries=True,
name='TargetAnalysis',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
icon="assets/icon.ico",
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='TargetAnalysis')