Skip to content

Commit

Permalink
Test windows multiprocessing support
Browse files Browse the repository at this point in the history
  • Loading branch information
bmartinn committed May 10, 2020
1 parent 5b90f70 commit 68f673a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/pip/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,11 @@
from pip._internal.cli.main import main as _main # isort:skip # noqa

if __name__ == '__main__':
try:
# windows multiprocessing support
from multiprocessing import freeze_support
freeze_support()
except ImportError:
pass

sys.exit(_main())

0 comments on commit 68f673a

Please sign in to comment.