-
Notifications
You must be signed in to change notification settings - Fork 155
/
morse-windows.spec
28 lines (26 loc) · 997 Bytes
/
morse-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
# -*- mode: python -*-
# spec file for pyinstaller to build Morse for Windows
MorseAny = Analysis(['morserun.py'],
pathex=[os.path.abspath('.')],
# for some unknown reason these hidden imports don't pull in
# all the needed pieces, so we also import them in morserun.py
datas= [ ('..\\share\\', 'share' ), ('..\\Lib\\site-packages\\morse', 'morse' ), ('..\\Lib\\site-packages\\pymorse', 'pymorse' ) ],
hookspath=None,
runtime_hooks=None,
excludes= [])
Morse_pyz = PYZ(MorseAny.pure)
Morse_exe = EXE(Morse_pyz,
MorseAny.scripts,
exclude_binaries=True,
name='morse.exe',
debug=False,
strip=None,
upx=True,
console=True )
Morse_coll = COLLECT(Morse_exe,
MorseAny.binaries,
MorseAny.zipfiles,
MorseAny.datas,
strip=None,
upx=True,
name='morserun')