Skip to content

Commit

Permalink
fix: use multiprocessing support for pysintaller
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemDoum committed Nov 21, 2024
1 parent 8245dad commit 49c54af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datashare_spacy_worker/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import multiprocessing
import os
from pathlib import Path
from typing import Annotated
Expand Down Expand Up @@ -29,4 +30,6 @@ def main(


if __name__ == "__main__":
# https://github.com/pyinstaller/pyinstaller/wiki/Recipe-Multiprocessing
multiprocessing.freeze_support()
cli_app()

0 comments on commit 49c54af

Please sign in to comment.