diff options
author | Bert Belder <bertbelder@gmail.com> | 2018-10-23 16:51:54 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2018-10-23 16:51:54 +0200 |
commit | 0dda87f962b2209be1734f4fe6bb1ba9f6c0e66b (patch) | |
tree | ad26dcf0f72d257bb147320c4f6029a019e2a456 /tools/third_party.py | |
parent | 4ceb205512bbeb760c219306d6df7d6c1f12aa19 (diff) |
third_party: install yapf with pip
Diffstat (limited to 'tools/third_party.py')
-rw-r--r-- | tools/third_party.py | 8 |
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) |