Skip to content

Commit

Permalink
guessing at a solution via remarks in the issue (python-poetry#24) di…
Browse files Browse the repository at this point in the history
…scussion
  • Loading branch information
windoverwater committed Sep 22, 2022
1 parent c8c3ce4 commit 708da61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install-poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ def make(cls, target: Path) -> "VirtualEnvironment":
import ensurepip # noqa: F401
import venv

builder = venv.EnvBuilder(clear=True, with_pip=True, symlinks=False)
builder = venv.EnvBuilder(clear=True, with_pip=True, symlinks=False) if WINDOWS else \
venv.EnvBuilder(clear=True, with_pip=True, symlinks=True)
context = builder.ensure_directories(target)

if (
Expand Down

0 comments on commit 708da61

Please sign in to comment.