Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS fix #30

Merged
merged 2 commits into from
Sep 1, 2022
Merged

macOS fix #30

merged 2 commits into from
Sep 1, 2022

Conversation

andreped
Copy link
Member

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 the if __name__ == "__main__" right after the freeze_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!

@andreped andreped requested a review from dbouget August 31, 2022 19:07
@dbouget dbouget merged commit c01b9e7 into raidionics:master Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants