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