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