diff --git a/package/pyinstaller/pyinstaller.spec b/package/pyinstaller/pyinstaller.spec index 09e3bb0f5..0604edefa 100644 --- a/package/pyinstaller/pyinstaller.spec +++ b/package/pyinstaller/pyinstaller.spec @@ -51,8 +51,9 @@ excludes = ["fabio", "hdf5plugin", "silx"] # if this module is included, the interactive console does not work excludes.append("debugpy") -# This module basically does not work with frozen versions -excludes.append("multiprocessing") +if sys.platform.startswith("win"): + # This module basically does not work with frozen versions + excludes.append("multiprocessing") # get the script list