mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-03-12 04:35:40 -07:00
44 lines
972 B
Python
44 lines
972 B
Python
# -*- 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', '.'),
|
|
('..\\branch.txt', '.'),
|
|
('..\\version.txt', '.'),
|
|
('..\\lib\\ipwhois\\data', 'data')
|
|
],
|
|
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
|
|
hiddenimports=['pkg_resources.py2_warn', 'cheroot.ssl', 'cheroot.ssl.builtin'],
|
|
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',
|
|
contents_directory='.'
|
|
)
|
|
coll = COLLECT(
|
|
exe,
|
|
analysis.binaries,
|
|
analysis.zipfiles,
|
|
analysis.datas,
|
|
name='Tautulli'
|
|
)
|