Remove files that triggered warnings during app start

This commit is contained in:
Debanjum Singh Solanky 2022-08-18 20:52:34 +03:00
parent 60dacf3f2c
commit 6ddcbe2e75

View file

@ -41,6 +41,9 @@ torch_lib_paths = {
}
a.datas = [entry for entry in a.datas if not entry[0] in torch_lib_paths]
a.datas = [entry for entry in a.datas if not 'torch/_C.cp' in entry[0]]
a.datas = [entry for entry in a.datas if not 'torch/_dl.cp' in entry[0]]
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
if system() != 'Darwin':