Freeze the app for user-friendly distribution & usage

This commit is contained in:
Collin Rapp
2020-05-10 11:26:09 -07:00
parent 176f3f6f0e
commit fb03e9fff5
10 changed files with 242 additions and 69 deletions

37
PointsBot.spec Normal file
View File

@@ -0,0 +1,37 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(['PointsBot.py'],
pathex=['C:\\Users\\Collin\\Documents\\git\\PointsBot'],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=['.\\pyinstaller-hooks\\'],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
[],
exclude_binaries=True,
name='PointsBot',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='PointsBot')