[python] Add uv/poetry to Path on Windows

GitOrigin-RevId: 066d489651b1a78305b3348a7372c00e69190426
This commit is contained in:
Egor.Eliseev
2025-01-21 13:43:29 +00:00
committed by intellij-monorepo-bot
parent 32c0cc0833
commit 83c203b7f8
@@ -409,6 +409,7 @@ class Installer:
new_path = "{current_path};{new_path}".format(current_path=current_path, new_path=self.bin_dir)
os.environ['PATH'] = new_path
subprocess.run("setx PATH {new_path}".format(new_path=new_path), shell=True)
subprocess.run('$env:Path = "{package_path};$env:Path"'.format(package_path=self.bin_dir), shell=True)
self._write(
POST_MESSAGE.format(