Add workflow for automated Windows/MacOS builds

This commit is contained in:
JonnyWong16 2020-04-14 18:06:42 -07:00
commit 6c8d6ed2ca
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
10 changed files with 535 additions and 10 deletions

View file

@ -0,0 +1,38 @@
# -*- mode: python ; coding: utf-8 -*-
import sys
sys.modules['FixTk'] = None
block_cipher = None
analysis = Analysis(
['..\\Tautulli.py'],
pathex=['lib'],
datas=[('..\\data', 'data'),
('..\\CHANGELOG.md', '.'),
('..\\LICENSE', '.'),
('..\\version.txt', '.')
],
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
cipher=block_cipher,
)
pyz = PYZ(
analysis.pure,
analysis.zipped_data,
cipher=block_cipher
)
exe = EXE(
pyz,
analysis.scripts,
exclude_binaries=True,
name='Tautulli',
console=False,
icon='..\\data\\interfaces\\default\\images\\logo-circle.ico'
)
coll = COLLECT(
exe,
analysis.binaries,
analysis.zipfiles,
analysis.datas,
name='Tautulli'
)