Commit d9a42d35 authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #628 from JGoutin/patch-1

Minor change : Link to MSVC14 Standalone
parents fd01aba5 cb29ee77
......@@ -2,6 +2,12 @@
CHANGES
=======
v24.0.2
-------
* If MSVC++14 is needed ``setuptools.msvc`` now redirect
user to Visual C++ Build Tools web page.
v24.0.1
-------
......@@ -14,8 +20,8 @@ v24.0.0
* Pull Request #174: Add more aggressive support for
standalone Microsoft Visual C++ compilers in
msvc9compiler patch.
Particularly : Windows SDK 6.0 and 6.1
(MSVC++ 9.0), Windows SDK 7.0 (MSVC++ 10.0),
Particularly : Windows SDK 6.1 and 7.0
(MSVC++ 9.0), Windows SDK 7.1 (MSVC++ 10.0),
Visual C++ Build Tools 2015 (MSVC++14)
* Renamed ``setuptools.msvc9_support`` to
``setuptools.msvc``.
......
......@@ -221,7 +221,7 @@ def _augment_exception(exc, version, arch=''):
if "vcvarsall" in message.lower() or "visual c" in message.lower():
# Special error message if MSVC++ not installed
tmpl = 'Microsoft Visual C++ {version:0.1f} is required {message}.'
tmpl = 'Microsoft Visual C++ {version:0.1f} is required.'
message = tmpl.format(**locals())
msdownload = 'www.microsoft.com/download/details.aspx?id=%d'
if version == 9.0:
......@@ -239,6 +239,10 @@ def _augment_exception(exc, version, arch=''):
# For VC++ 10.0 Redirect user to Windows SDK 7.1
message += ' Get it with "Microsoft Windows SDK 7.1": '
message += msdownload % 8279
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')
exc.args = (message, )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment