Skip to content

Commit 7bcae7f

Browse files
committed
+ Pyinstaller config
1 parent 0ee6336 commit 7bcae7f

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

main.spec

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
block_cipher = None
5+
6+
7+
a = Analysis(
8+
['main.py'],
9+
pathex=['venv\\Lib\\site-packages'],
10+
binaries=[('WinJobster/*.dll', 'WinJobster')],
11+
datas=[('*.tcl', '.'), ('forest-dark', 'forest-dark')],
12+
hiddenimports=[],
13+
hookspath=[],
14+
hooksconfig={},
15+
runtime_hooks=[],
16+
excludes=[],
17+
win_no_prefer_redirects=False,
18+
win_private_assemblies=False,
19+
cipher=block_cipher,
20+
noarchive=False,
21+
)
22+
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
23+
24+
exe = EXE(
25+
pyz,
26+
a.scripts,
27+
[],
28+
exclude_binaries=True,
29+
name='BulkStartStop',
30+
debug=False,
31+
bootloader_ignore_signals=False,
32+
strip=False,
33+
upx=True,
34+
console=False,
35+
disable_windowed_traceback=False,
36+
argv_emulation=False,
37+
target_arch=None,
38+
codesign_identity=None,
39+
entitlements_file=None,
40+
uac_admin=True,
41+
)
42+
coll = COLLECT(
43+
exe,
44+
a.binaries,
45+
a.zipfiles,
46+
a.datas,
47+
strip=False,
48+
upx=True,
49+
upx_exclude=[],
50+
name='main',
51+
)

0 commit comments

Comments
 (0)