From 1f83dba1acd8a5443be236a92e096d7b6e79dcf5 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 7 Apr 2020 18:00:17 +0300 Subject: [PATCH] Add missing hidden imports to platform-specific specifications --- dist_assets/mac/pyfa.spec | 3 ++- dist_assets/win/pyfa.spec | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist_assets/mac/pyfa.spec b/dist_assets/mac/pyfa.spec index f7749eec7..cd992be2d 100644 --- a/dist_assets/mac/pyfa.spec +++ b/dist_assets/mac/pyfa.spec @@ -30,7 +30,8 @@ added_files = [ import_these = [ 'numpy.core._dtype_ctypes', # https://github.com/pyinstaller/pyinstaller/issues/3982 - 'sqlalchemy.ext.baked' # windows build doesn't launch without if when using sqlalchemy 1.3.x + 'sqlalchemy.ext.baked', # windows build doesn't launch without if when using sqlalchemy 1.3.x + 'pkg_resources.py2_warn' # issue 2156 ] icon = os.path.join(os.getcwd(), "dist_assets", "mac", "pyfa.icns") diff --git a/dist_assets/win/pyfa.spec b/dist_assets/win/pyfa.spec index 638e837ac..db98d90e9 100644 --- a/dist_assets/win/pyfa.spec +++ b/dist_assets/win/pyfa.spec @@ -29,7 +29,8 @@ added_files = [ import_these = [ 'numpy.core._dtype_ctypes', # https://github.com/pyinstaller/pyinstaller/issues/3982 - 'sqlalchemy.ext.baked' # windows build doesn't launch without if when using sqlalchemy 1.3.x + 'sqlalchemy.ext.baked', # windows build doesn't launch without if when using sqlalchemy 1.3.x + 'pkg_resources.py2_warn' # issue 2156 ] # Walk directories that do dynamic importing