Skip to content

Commit 7f3a0a3

Browse files
committed
added pyinstaller spec file
1 parent 5da18c5 commit 7f3a0a3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

nut_gui.spec

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
block_cipher = None
4+
5+
6+
a = Analysis(['nut_gui.py'],
7+
pathex=['nut', 'C:\\nut'],
8+
binaries=[('C:\\Windows\\System32\\libusb0.dll', '.')],
9+
datas=[('public_html', 'public_html'), ('plugins', 'plugins')],
10+
hiddenimports=['google-api-python-client'],
11+
hookspath=[],
12+
runtime_hooks=[],
13+
excludes=[],
14+
win_no_prefer_redirects=False,
15+
win_private_assemblies=False,
16+
cipher=block_cipher,
17+
noarchive=False)
18+
pyz = PYZ(a.pure, a.zipped_data,
19+
cipher=block_cipher)
20+
exe = EXE(pyz,
21+
a.scripts,
22+
a.binaries,
23+
a.zipfiles,
24+
a.datas,
25+
[],
26+
name='nut_gui',
27+
debug=False,
28+
bootloader_ignore_signals=False,
29+
strip=False,
30+
upx=True,
31+
upx_exclude=[],
32+
runtime_tmpdir=None,
33+
console=True , icon='public_html\\images\\favicon.ico')

0 commit comments

Comments
 (0)