mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-23 14:30:57 -05:00
Merge 5eaaacd208
into d62875fc05
This commit is contained in:
commit
7ebf3f825a
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