From 572d337935fdca0231d1b67621a6ba5109cfe410 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sun, 20 Jan 2019 23:40:33 -0500 Subject: [PATCH] Newer versions of numpy apparently aren't supported very well with pyinstaller yet. Force inclusion of module, otherwise automated build will cause graph support to fail --- dist_assets/mac/pyfa.spec | 5 +++-- dist_assets/win/pyfa.spec | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) 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')