1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-30 09:40:57 -05:00

Compare commits

...

3 commits

Author SHA1 Message Date
sandy currier
7ebf3f825a
Merge 5eaaacd208 into d62875fc05 2023-09-19 09:44:51 -07:00
pre-commit-ci[bot]
5eaaacd208 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-09-22 15:08:56 +00:00
Sandy Currier
708da61381 guessing at a solution via remarks in the issue (#24) discussion 2022-09-22 11:02:02 -04:00

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 (