diff --git a/install-poetry.py b/install-poetry.py index 4a96007..6846ce5 100644 --- a/install-poetry.py +++ b/install-poetry.py @@ -314,7 +314,11 @@ 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 (