I'd love to make a minimal example, but I haven't succeeded in demonstrating the behavior that way. I thought it might be to do with the subprocess I was running, but launching one in touchtracer's build method didn't do anything; I thought my overloaded ScreenManager might be to blame, but making one with a bunch of useless extra screens didn't even slow things down.
It's definitely not the console setting, though. The window I'm referring to looks nothing like a console window.
Here's my .spec...
# -*- mode: python -*-
from kivy.tools.packaging.pyinstaller_hooks import hookspath, runtime_hooks, get_deps_minimal
block_cipher = None
mindeps = get_deps_minimal(audio=None, video=None)
mindeps['hiddenimports'].extend([
'ELiDE.kivygarden.collider',
'ELiDE.kivygarden.stiffscroll',
'ELiDE.kivygarden.texturestack',
'kivy.weakmethod'
])
a = Analysis(['src/main.py'],
pathex=['src'],
binaries=[('src/ELiDE/kivygarden/collider/build/lib.win32-3.5/collider.cp35-win32.pyd', '.')],
datas=[
('src/ELiDE/assets', 'ELiDE/assets'),
('src/LiSE/sqlite.json', 'LiSE')
],
hookspath=hookspath(),
runtime_hooks=runtime_hooks(),
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
**mindeps
)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='RunThis',
debug=False,
strip=False,
upx=True,
console=False )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
Tree('C:/ELiDEa7/kivyenv/share/sdl2/bin'),
strip=False,
upx=True,
name='ELiDEa7')
I dunno if you'd want to take the time, but here's a bundle of the whole source of the app, should you want to take a stab at debugging it. License is GPL3, except for the allegedb directory, which is BSD.