aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@webkit.org>2023-06-21 13:35:38 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-06-21 19:37:46 +0200
commit8bac189ea22ae1c120ae81ed8fe116e8c2914ea4 (patch)
treedebafffa5c863c7014d8450426dd355680a19aad /python/servo
parent07bbbad5f954790ad79611821f12cc1d0d51d929 (diff)
downloadservo-8bac189ea22ae1c120ae81ed8fe116e8c2914ea4.tar.gz
servo-8bac189ea22ae1c120ae81ed8fe116e8c2914ea4.zip
Simplify the build instructions
- 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
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]