-
Notifications
You must be signed in to change notification settings - Fork 4
/
converter_gui.spec
32 lines (28 loc) · 965 Bytes
/
converter_gui.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
# -*- mode: python -*-
import os
import site
block_cipher = None
typelib_path = os.path.join(site.getsitepackages()[1], 'gnome', 'lib', 'girepository-1.0')
a = Analysis(['logger.py', 'converter_gui.spec'],
pathex=['C:\\Users\\Mym\\Downloads\\nw-converter'],
binaries=[(os.path.join(typelib_path, tl), 'gi_typelibs') for tl in os.listdir(typelib_path)],
datas=None,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='converter_gui',
debug=False,
strip=False,
upx=True,
console=True )