summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-05-04 16:11:17 -0400
committerGitHub <noreply@github.com>2021-05-04 16:11:17 -0400
commit61c12f6a10cc237d112f30242b12f7643f1a1e19 (patch)
tree7e82eb6558a898a15b10426b0a5ed46352b4da93
parentc492876f47f255939f8be2a0e2bcba28299d3eed (diff)
parentc3605e540d2357bf8b75e3d380a0def7ed893daa (diff)
downloadpython-setuptools-git-61c12f6a10cc237d112f30242b12f7643f1a1e19.tar.gz
Merge pull request #2663 from dofuuz/vs2017-express
Added Visual Studio Express 2017 support
-rw-r--r--changelog.d/2663.change.rst1
-rw-r--r--setuptools/msvc.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/2663.change.rst b/changelog.d/2663.change.rst
new file mode 100644
index 00000000..3cd2e755
--- /dev/null
+++ b/changelog.d/2663.change.rst
@@ -0,0 +1 @@
+Added Visual Studio Express 2017 support -- by :user:`dofuuz`
diff --git a/setuptools/msvc.py b/setuptools/msvc.py
index d5e0a952..fd4b0781 100644
--- a/setuptools/msvc.py
+++ b/setuptools/msvc.py
@@ -193,7 +193,9 @@ def _msvc14_find_vc2017():
join(root, "Microsoft Visual Studio", "Installer", "vswhere.exe"),
"-latest",
"-prerelease",
+ "-requiresAny",
"-requires", "Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
+ "-requires", "Microsoft.VisualStudio.Workload.WDExpress",
"-property", "installationPath",
"-products", "*",
]).decode(encoding="mbcs", errors="strict").strip()