From 0dda87f962b2209be1734f4fe6bb1ba9f6c0e66b Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Tue, 23 Oct 2018 16:51:54 +0200 Subject: third_party: install yapf with pip --- tools/third_party.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools/third_party.py') diff --git a/tools/third_party.py b/tools/third_party.py index 0477187c0..2e7de23b4 100644 --- a/tools/third_party.py +++ b/tools/third_party.py @@ -160,6 +160,14 @@ def run_pip(): cwd=third_party_path, merge_env=pip_env) + # Get yapf. + # Install pywin32. + run([ + sys.executable, "-m", "pip", "install", "--upgrade", "--target", + python_packages_path, "yapf" + ], + cwd=third_party_path, + merge_env=pip_env) # Remove the temporary pip installation. rmtree(temp_python_home) -- cgit v1.2.3