-
Notifications
You must be signed in to change notification settings - Fork 6
/
blog2epub_macos.spec
55 lines (53 loc) · 1.39 KB
/
blog2epub_macos.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
# -*- mode: python ; coding: utf-8 -*-
from kivy.tools.packaging.pyinstaller_hooks import get_deps_minimal
import os
import sys
block_cipher = None
configuration = Analysis(
[
'blog2epub/blog2epub_gui.py'
],
pathex=[
'.'
],
datas=[
(os.path.abspath('./assets/blog2epub.icns'), '.'),
(os.path.abspath('./assets/blog2epub_256px.png'), '.'),
(os.path.abspath('./assets/blog2epub.png'), '.'),
(os.path.abspath('./assets/Alegreya-Regular.ttf'), '.'),
(os.path.abspath('./assets/Alegreya-Italic.ttf'), '.'),
(os.path.abspath('./assets/LiberationMono-Regular.ttf'), '.'),
],
hookspath=[],
runtime_hooks=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
**get_deps_minimal(video=None, audio=None)
)
application_pyz = PYZ(
configuration.pure,
configuration.zipped_data,
cipher=block_cipher
)
application_exe = EXE(
application_pyz,
configuration.scripts,
configuration.binaries,
configuration.zipfiles,
configuration.datas,
name = 'blog2epub',
debug = False,
strip = False,
upx = True,
runtime_tmpdir = None,
console = False,
)
app = BUNDLE(
application_exe,
name='blog2epub.app',
icon='assets/blog2epub.icns',
bundle_identifier=None,
info_plist = {'NSHighResolutionCapable': 'True'},
)