Added spec file for PyInstaller

This commit is contained in:
Manuel Cortez 2018-01-25 11:45:58 -06:00
parent 5dbf07a311
commit 841488537b

34
src/main.spec Normal file
View File

@ -0,0 +1,34 @@
# -*- mode: python -*-
import application
block_cipher = None
a = Analysis(['main.py'],
pathex=['.'],
binaries=[],
datas=[],
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,
exclude_binaries=True,
name='musicDL',
debug=False,
strip=False,
upx=True,
console=False )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='main')