Skip to content

Commit 708da61

Browse files
committed
guessing at a solution via remarks in the issue (python-poetry#24) discussion
1 parent c8c3ce4 commit 708da61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install-poetry.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ def make(cls, target: Path) -> "VirtualEnvironment":
306306
import ensurepip # noqa: F401
307307
import venv
308308

309-
builder = venv.EnvBuilder(clear=True, with_pip=True, symlinks=False)
309+
builder = venv.EnvBuilder(clear=True, with_pip=True, symlinks=False) if WINDOWS else \
310+
venv.EnvBuilder(clear=True, with_pip=True, symlinks=True)
310311
context = builder.ensure_directories(target)
311312

312313
if (

0 commit comments

Comments
 (0)