summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Ganssle <pganssle@users.noreply.github.com>2018-07-10 15:45:37 -0400
committerGitHub <noreply@github.com>2018-07-10 15:45:37 -0400
commite50d77efb25d9db04a87ceea483d6b74fc58cd91 (patch)
tree18184465cd0cc5e4597d2e9014226d3808f893a7
parent54ce65990c26ff68750ae682b6bacd5eed7d56ba (diff)
parentbaa9aea1de4351b96e6e677a8cd95bc5f122087e (diff)
downloadpython-setuptools-git-e50d77efb25d9db04a87ceea483d6b74fc58cd91.tar.gz
Merge pull request #1388 from JGoutin/issue-buildtooldeadlink
Fix "Microsoft Visual C++ Build Tools" link
-rw-r--r--changelog.d/1388.change.rst1
-rw-r--r--setuptools/msvc.py3
2 files changed, 2 insertions, 2 deletions
diff --git a/changelog.d/1388.change.rst b/changelog.d/1388.change.rst
new file mode 100644
index 00000000..b98dc966
--- /dev/null
+++ b/changelog.d/1388.change.rst
@@ -0,0 +1 @@
+Fixed "Microsoft Visual C++ Build Tools" link in exception when Visual C++ not found.
diff --git a/setuptools/msvc.py b/setuptools/msvc.py
index 5e20b3f1..b9c472f1 100644
--- a/setuptools/msvc.py
+++ b/setuptools/msvc.py
@@ -232,8 +232,7 @@ def _augment_exception(exc, version, arch=''):
elif version >= 14.0:
# For VC++ 14.0 Redirect user to Visual C++ Build Tools
message += (' Get it with "Microsoft Visual C++ Build Tools": '
- r'http://landinghub.visualstudio.com/'
- 'visual-cpp-build-tools')
+ r'https://visualstudio.microsoft.com/downloads/')
exc.args = (message, )