Python/PyInstaller build cleanup

This commit is contained in:
Ross Scroggs
2024-08-29 11:30:13 -07:00
parent 49128d5559
commit 0e90d10f17
2 changed files with 3 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ datas += [('datastudio-v1.json', '.')]
datas += [('serviceaccountlookup-v1.json', '.')]
datas += [('cacerts.pem', '.')]
hiddenimports = [
'gam.auth.yubikey',
'gam.gamlib.yubikey',
]
a = Analysis(
@@ -35,7 +35,7 @@ a = Analysis(
win_private_assemblies=False,
cipher=None,
noarchive=False,
)
)
for d in a.datas:
if 'pyconfig' in d[0]:
a.datas.remove(d)
@@ -117,4 +117,3 @@ else:
upx_exclude=[],
name=name,
)