Add workflow for automated Windows/MacOS builds
This commit is contained in:
38
package/Tautulli-windows.spec
Normal file
38
package/Tautulli-windows.spec
Normal 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'
|
||||
)
|
||||
Reference in New Issue
Block a user