From 0ea88630e259630b0c0d779d2cac18907b032809 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Thu, 8 Jun 2023 16:52:23 -0400 Subject: [PATCH] undo collect_all for cryptography, did not solve win32 --- src/gam.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gam.spec b/src/gam.spec index 4db34abc..c50680f9 100644 --- a/src/gam.spec +++ b/src/gam.spec @@ -3,8 +3,7 @@ from os import getenv from re import search from sys import platform -from PyInstaller.utils.hooks import (collect_all, - copy_metadata) +from PyInstaller.utils.hooks import copy_metadata from gam.var import GAM_VER_LIBS @@ -18,9 +17,6 @@ datas += [('roots.pem', '.')] hiddenimports = [ 'gam.auth.yubikey', ] -tmp_ret = collect_all('cryptography') -datas += tmp_ret[0] -hiddenimports += tmp_ret[2] a = Analysis( ['gam/__main__.py'],