1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-06 06:05:52 -05:00

Fix the detection of the system environment with custom installer

This commit is contained in:
Sébastien Eustace 2021-08-24 13:56:26 +02:00
parent 8c5f2528f6
commit 28f4f9f527

View file

@ -528,6 +528,10 @@ class Installer:
virtualenv.cli_run([str(env_path), "--clear"])
# We add a special file so that Poetry can detect
# its own virtual environment
env_path.joinpath("poetry_env").touch()
return env_path
def make_bin(self, version: str) -> None: