1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-21 13:41:04 -05:00

guessing at a solution via remarks in the issue (#24) discussion

This commit is contained in:
Sandy Currier 2022-09-22 11:02:02 -04:00
parent c8c3ce44ff
commit 708da61381

View file

@ -306,7 +306,8 @@ class 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 (