mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-21 21:50:58 -05:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
708da61381
commit
5eaaacd208
1 changed files with 5 additions and 2 deletions
|
@ -306,8 +306,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) if WINDOWS else \
|
builder = (
|
||||||
venv.EnvBuilder(clear=True, with_pip=True, symlinks=True)
|
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