1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-27 08:11:01 -05:00
This commit is contained in:
sandy currier 2023-09-19 09:44:51 -07:00 committed by GitHub
commit 7ebf3f825a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 (