mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-27 08:11:01 -05:00
Merge 5eaaacd208
into 290e92f756
This commit is contained in:
commit
3a6ca45c7f
1 changed files with 5 additions and 1 deletions
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue