-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchord_hand.spec
58 lines (49 loc) · 1.31 KB
/
chord_hand.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 -*-
import argparse
from pathlib import Path
parser = argparse.ArgumentParser()
parser.add_argument("--debug", action="store_true")
options = parser.parse_args()
options = parser.parse_args()
a = Analysis(
["./chord_hand/main.py"],
pathex=[],
binaries=None,
datas=[
("./README.md", "."),
("./chord_hand/settings", "./chord_hand/settings"),
("./chord_hand/encoding/projeto_mpb/lex-functions.csv", "./chord_hand/encoding/projeto_mpb"),
("./chord_hand/img", "./chord_hand/img"),
],
hiddenimports=['chord_hand.export', 'chord_hand.projeto_mpb'],
hookspath=None,
runtime_hooks=None,
excludes=None,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.datas,
a.binaries,
name="ChordHand",
console=False,
embed_manifest=True,
)
app = BUNDLE(
exe,
name='ChordHand.app',
version='0.0.1',
info_plist={
'NSPrincipalClass': 'NSApplication',
'NSAppleScriptEnabled': False,
'CFBundleDocumentTypes': [
{
'CFBundleTypeName': 'My File Format',
'CFBundleTypeIconFile': 'MyFileIcon.icns',
'LSItemContentTypes': ['com.example.myformat'],
'LSHandlerRank': 'Owner'
}
]
},
)