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
This commit is contained in:
Martin Robinson 2023-06-21 13:35:38 +02:00 committed by Martin Robinson
parent 07bbbad5f9
commit 8bac189ea2
No known key found for this signature in database
GPG key ID: D56AA4FA55EFE6F8
3 changed files with 43 additions and 237 deletions

View file

@ -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]