mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-05 20:23:34 +00:00
log more info on collected files for PyInstaller
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user