Skip to content

Commit

Permalink
manually specify multiprocessing use fork in setup.py (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanDelbridge committed Apr 18, 2024
1 parent 2ce28c1 commit c48804d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Expand Up @@ -45,6 +45,8 @@
nthreads = mp.cpu_count()
if os.name == "nt":
nthreads = 0
else:
mp.set_start_method("fork", force=True)

setup(
packages=packages,
Expand Down

0 comments on commit c48804d

Please sign in to comment.