Reland "[mb.py] Check multiple locations for the real python."
This is a reland of 2131f972 Original change's description: > [mb.py] Check multiple locations for the real python. > > Sometimes the value of sys.prefix (or sys.real_prefix in vpython) > includes the bin/ directory within the python installation, and > sometimes it does not. To accommodate this, check both prefix/bin and > prefix itself for the python executable. > > Bug: 1049421 > Change-Id: Ia7c072dc0b4b8232ec8fdce20f9211e3c978a3ad > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055976 > Commit-Queue: Sajjad Mirza <sajjadm@chromium.org> > Reviewed-by: Nico Weber <thakis@chromium.org> > Reviewed-by: Robbie Iannucci <iannucci@chromium.org> > Cr-Commit-Position: refs/heads/master@{#741574} Bug: 1049421 Change-Id: Ib0d83fa1b6613e62334336cf567d9c311dba2cfd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2067291Reviewed-by:Nico Weber <thakis@chromium.org> Reviewed-by:
Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Sajjad Mirza <sajjadm@chromium.org> Cr-Commit-Position: refs/heads/master@{#743383}
Showing
Please register or sign in to comment