aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
authorbors-servo <infra@servo.org>2023-06-22 08:21:21 +0200
committerGitHub <noreply@github.com>2023-06-22 08:21:21 +0200
commit7aaad0aa7eac2d0c98ff17091013fda77359397d (patch)
treeb34eb3b02e70d7b24f00b24a93a525acf293cd78 /python/servo
parent7fc6190c3685bcb22be7047ddcbfbff5801883e8 (diff)
parent8bac189ea22ae1c120ae81ed8fe116e8c2914ea4 (diff)
downloadservo-7aaad0aa7eac2d0c98ff17091013fda77359397d.tar.gz
servo-7aaad0aa7eac2d0c98ff17091013fda77359397d.zip
Auto merge of #29903 - mrobinson:improve-windows-build-instructions, r=mrego
Simplify the build instructions in README.md - Add a chocolatey configuration that installs all dependencies and split the instructions into a normal and manual installation section. In addition fix a warning print statement for the Windows build that would trigger a Python exception. - Simplify the build instructions in the README and move all manual setup details to: https://github.com/servo/servo/wiki/Building <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because they do not change behavior. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'python/servo')
-rw-r--r--python/servo/command_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 2fe515dd19f..e92b0817b08 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -1067,8 +1067,8 @@ def find_highest_msvc_version():
versions = sorted(find_highest_msvc_version_ext(), key=lambda tup: float(tup[1]))
if not versions:
- print("Can't find MSBuild.exe installation under %s. Please set the VSINSTALLDIR and VisualStudioVersion"
- + " environment variables" % base_vs_path)
+ print(f"Can't find MSBuild.exe installation under {base_vs_path}. "
+ "Please set the VSINSTALLDIR and VisualStudioVersion environment variables")
sys.exit(1)
return versions[0]