-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathblog2epub_windows.spec
54 lines (52 loc) · 1.27 KB
/
blog2epub_windows.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
from kivy.tools.packaging.pyinstaller_hooks import get_deps_minimal
block_cipher = None
minimal_depts = get_deps_minimal(video=None, audio=None)
minimal_depts["hiddenimports"] += ["plyer.platforms.win.filechooser"]
a = Analysis(
["blog2epub\\blog2epub_gui.py"],
pathex=[
".",
],
datas=[
("./assets/blog2epub_256px.png", "."),
("./assets/blog2epub.png", "."),
("./assets/Alegreya-Regular.ttf", "."),
("./assets/Alegreya-Italic.ttf", "."),
("./assets/LiberationMono-Regular.ttf", "."),
],
hookspath=[],
runtime_hooks=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
**minimal_depts,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name="blog2epub_gui.exe",
debug=False,
bootloader_ignore_signals=False,
strip=None,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
icon="./assets/blog2epub_256px.png",
)
info_plist = {
"NSHighResolutionCapable": True,
}
app = BUNDLE(
exe,
name="blog2epub_gui.exe",
icon="./assets/blog2epub.ico",
bundle_identifier=None,
info_plist=info_plist,
)