Exclude import 'Tkinter'

https://github.com/pyinstaller/pyinstaller/wiki/Recipe-remove-tkinter-tcl
This commit is contained in:
oldnapalm
2020-06-15 12:19:44 -03:00
committed by GitHub
parent ada795ec62
commit 7afa77ecac

View File

@@ -2,6 +2,8 @@
block_cipher = None
import sys
sys.modules['FixTk'] = None
a = Analysis(['standalone.py'],
pathex=['/home/alexvh/Code/zoffline'],
@@ -10,7 +12,7 @@ a = Analysis(['standalone.py'],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,