mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-27 08:11:01 -05:00
Compare commits
3 commits
3a6ca45c7f
...
7ebf3f825a
Author | SHA1 | Date | |
---|---|---|---|
|
7ebf3f825a | ||
|
5eaaacd208 | ||
|
708da61381 |
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