1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-23 06:20:57 -05:00
This commit is contained in:
sandy currier 2024-11-20 15:47:46 +01:00 committed by GitHub
commit 3a6ca45c7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -314,7 +314,11 @@ class VirtualEnvironment:
import ensurepip # noqa: F401 import ensurepip # noqa: F401
import venv 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) context = builder.ensure_directories(target)
if ( if (