diff --git a/dist_assets/mac/pyfa.spec b/dist_assets/mac/pyfa.spec index cf27cfe87..8ce69749e 100644 --- a/dist_assets/mac/pyfa.spec +++ b/dist_assets/mac/pyfa.spec @@ -27,8 +27,9 @@ added_files = [ ('../../.version', '.'), ] - -import_these = [] +import_these = [ + 'numpy.core._dtype_ctypes' # https://github.com/pyinstaller/pyinstaller/issues/3982 +] 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 d181a5eb9..992153b1c 100644 --- a/dist_assets/win/pyfa.spec +++ b/dist_assets/win/pyfa.spec @@ -29,7 +29,9 @@ added_files = [ ('../../.version', '.'), ] -import_these = [] +import_these = [ + 'numpy.core._dtype_ctypes' # https://github.com/pyinstaller/pyinstaller/issues/3982 +] # Walk directories that do dynamic importing paths = ('eos/effects', 'eos/db/migrations', 'service/conversions')