Closed andreped closed 2 years ago
We actually need to use freeze_support for both Windows and macOS. This was surpring. I found that from checking some threads on stack overflow.
freeze_support
freeze_support should in theory do nothing on Ubuntu, but I would just have it there for all operating systems, if it works.
Also, it was recommended to move the spawn_method stuff to the if __name__ == "__main__" right after the freeze_support.
spawn_method
if __name__ == "__main__"
Just tested the binary installers on both Windows and macOS and seems to work!
We can refactor the code at a later stage. Now we are ready for the final tests on Ubuntu and then publish the release!
We actually need to use
freeze_support
for both Windows and macOS. This was surpring. I found that from checking some threads on stack overflow.freeze_support
should in theory do nothing on Ubuntu, but I would just have it there for all operating systems, if it works.Also, it was recommended to move the
spawn_method
stuff to theif __name__ == "__main__"
right after thefreeze_support
.Just tested the binary installers on both Windows and macOS and seems to work!
We can refactor the code at a later stage. Now we are ready for the final tests on Ubuntu and then publish the release!