log more info on collected files for PyInstaller

This commit is contained in:
Jay Lee
2024-09-03 15:09:38 -04:00
committed by GitHub
parent 6651ad20ef
commit 05a04a0d23

View File

@ -21,6 +21,7 @@ hiddenimports = [
'gam.gamlib.yubikey', 'gam.gamlib.yubikey',
] ]
print(f"datas before analysis:\n{datas}")
a = Analysis( a = Analysis(
['gam/__main__.py'], ['gam/__main__.py'],
pathex=[], pathex=[],
@ -36,10 +37,12 @@ a = Analysis(
cipher=None, cipher=None,
noarchive=False, noarchive=False,
) )
print(f"datas from analysis:\n{a.datas}")
for d in a.datas: for d in a.datas:
if 'pyconfig' in d[0]: if 'pyconfig' in d[0]:
a.datas.remove(d) a.datas.remove(d)
break break
print(f"datas after pyconfig cleanup:\n{a.datas}")
pyz = PYZ(a.pure, pyz = PYZ(a.pure,
a.zipped_data, a.zipped_data,
cipher=None) cipher=None)