-
Notifications
You must be signed in to change notification settings - Fork 6
/
softchord.spec
executable file
·28 lines (26 loc) · 1.18 KB
/
softchord.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
# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), os.path.join(HOMEPATH,'support/useUnicode.py'), 'src/softchord.py'],
pathex=['/Users/adzhigir/mac/softchord'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
name=os.path.join('build/pyi.darwin/softchord', 'softchord'),
debug=False,
strip=False,
upx=True,
console=1 )
coll = COLLECT( exe,
a.binaries + [('softchord_main_window.ui', 'src/softchord_main_window.ui', 'DATA')] +
[('softchord_chord_dialog.ui', 'src/softchord_chord_dialog.ui', 'DATA')] +
[('softchord_pdf_dialog.ui', 'src/softchord_pdf_dialog.ui', 'DATA')] +
[('zvuki_neba.songbook', 'src/zvuki_neba.songbook', 'DATA')],
a.zipfiles,
a.datas,
strip=False,
upx=True,
name=os.path.join('dist', 'softchord'))
import sys
if sys.platform.startswith("darwin"):
#app = BUNDLE(exe, appname='softchord.py', version=1)
app = BUNDLE(exe, appname='softChord', version=1)