1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-09-13 13:17:11 -04:00

Merge pull request #4433 from python-poetry/revert-system-env-changes

Fix the detection of the system environment with custom installer
This commit is contained in:
Sébastien Eustace 2021-09-14 00:30:52 +02:00 committed by GitHub
commit 2f316d632b

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: