mirror of
https://github.com/ValdikSS/blockcheck.git
synced 2026-09-12 19:50:05 +05:00
Generate both standalone EXE and a folder with files
This commit is contained in:
parent
311e8719bf
commit
a49ca073d0
@ -33,7 +33,8 @@ a = Analysis(['blockcheck.py'],
|
||||
excludes=[],
|
||||
win_no_prefer_redirects=False,
|
||||
win_private_assemblies=False,
|
||||
cipher=block_cipher)
|
||||
cipher=block_cipher,
|
||||
noarchive=False)
|
||||
|
||||
pyz = PYZ(a.pure, a.zipped_data,
|
||||
cipher=block_cipher)
|
||||
@ -65,6 +66,25 @@ exe = EXE(pyz,
|
||||
upx=True,
|
||||
console=False )
|
||||
|
||||
exe_folder = EXE(pyz,
|
||||
a.scripts,
|
||||
[],
|
||||
name='blockcheck_folder',
|
||||
exclude_binaries=True,
|
||||
debug=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
console=False )
|
||||
|
||||
coll = COLLECT(exe_folder,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='blockcheck')
|
||||
|
||||
if sys_os == 'darwin':
|
||||
app = BUNDLE(exe,
|
||||
name='blockcheck.app',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user