summaryrefslogtreecommitdiff
path: root/tools/third_party.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/third_party.py')
-rw-r--r--tools/third_party.py8
1 files changed, 8 insertions, 0 deletions
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)