From de193b346a160398265a6c40ca583c62a6ae3505 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 9 Oct 2023 09:07:32 +0530 Subject: [PATCH] Switch to VS 2022 --- setup/vcvars.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/vcvars.py b/setup/vcvars.py index 11ca340021..25eb65b05f 100644 --- a/setup/vcvars.py +++ b/setup/vcvars.py @@ -16,9 +16,9 @@ if python_msc_version < 1920: if python_msc_version > 1929: raise SystemExit(f'Python MSC version {python_msc_version} too new, needs Visual studio 2019') -# The values are for VisualStudio 2019 (python_msc_version 192_) -VS_VERSION = '16.0' -COMN_TOOLS_VERSION = '160' +# The values are for VisualStudio 2022 (python_msc_version 192_) +VS_VERSION = '17.0' +COMN_TOOLS_VERSION = '170' CSIDL_PROGRAM_FILES = 38 CSIDL_PROGRAM_FILESX86 = 42