mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-29 10:56:06 +00:00
excluding unneeded tkinter module in spec files
This commit is contained in:
parent
d189e72c20
commit
5ba4ac2bb1
|
@ -1,10 +1,11 @@
|
||||||
# -*- mode: python ; coding: utf-8 -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
import deemix
|
import deemix
|
||||||
|
import sys
|
||||||
from os.path import dirname
|
from os.path import dirname
|
||||||
from sys import platform
|
|
||||||
|
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
|
sys.modules['FixTk'] = None
|
||||||
|
|
||||||
a = Analysis(['deemix_gui.py'],
|
a = Analysis(['deemix_gui.py'],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
|
@ -12,7 +13,7 @@ a = Analysis(['deemix_gui.py'],
|
||||||
hiddenimports=['engineio.async_drivers.threading', 'pkg_resources.py2_warn'],
|
hiddenimports=['engineio.async_drivers.threading', 'pkg_resources.py2_warn'],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=[],
|
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
|
||||||
win_no_prefer_redirects=False,
|
win_no_prefer_redirects=False,
|
||||||
win_private_assemblies=False,
|
win_private_assemblies=False,
|
||||||
cipher=block_cipher,
|
cipher=block_cipher,
|
||||||
|
@ -28,7 +29,7 @@ exe = EXE(pyz,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
console=True, icon=f"icon.{'icns' if platform.startswith('darwin') else 'ico'}" )
|
console=True, icon=f"icon.{'icns' if sys.platform.startswith('darwin') else 'ico'}" )
|
||||||
coll = COLLECT(exe,
|
coll = COLLECT(exe,
|
||||||
a.binaries,
|
a.binaries,
|
||||||
a.zipfiles,
|
a.zipfiles,
|
||||||
|
|
|
@ -1,16 +1,19 @@
|
||||||
# -*- mode: python ; coding: utf-8 -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
import deemix
|
import deemix
|
||||||
|
import sys
|
||||||
from os.path import dirname
|
from os.path import dirname
|
||||||
|
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
|
sys.modules['FixTk'] = None
|
||||||
|
|
||||||
a = Analysis(['server.py'],
|
a = Analysis(['server.py'],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[('webui/public', 'webui/public'), (f'{dirname(deemix.__file__)}/app/default.json','deemix/app')],
|
datas=[('webui/public', 'webui/public'), (f'{dirname(deemix.__file__)}/app/default.json','deemix/app')],
|
||||||
hiddenimports=['engineio.async_drivers.threading', 'pkg_resources.py2_warn'],
|
hiddenimports=['engineio.async_drivers.threading', 'pkg_resources.py2_warn'],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=[],
|
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
|
||||||
win_no_prefer_redirects=False,
|
win_no_prefer_redirects=False,
|
||||||
win_private_assemblies=False,
|
win_private_assemblies=False,
|
||||||
cipher=block_cipher,
|
cipher=block_cipher,
|
||||||
|
|
Loading…
Reference in a new issue