diff options
author | J. Goutin <JGoutin@users.noreply.github.com> | 2016-07-03 19:04:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-03 19:04:03 +0200 |
commit | 7b303ef300faad048b21005e17d1ca83e4ad3a18 (patch) | |
tree | a0718616e8093bc7194959d9613488d59bedce1b /setuptools/msvc.py | |
parent | fd01aba56e1ab8658d5bda3e08556d8f7120b1bc (diff) | |
download | external_python_setuptools-7b303ef300faad048b21005e17d1ca83e4ad3a18.tar.gz external_python_setuptools-7b303ef300faad048b21005e17d1ca83e4ad3a18.tar.bz2 external_python_setuptools-7b303ef300faad048b21005e17d1ca83e4ad3a18.zip |
Minor change : Link to MSVC14 Standalone
Add the new link to "Microsoft Visual C++ Build Tools" if MSVC14 is not installed.
Diffstat (limited to 'setuptools/msvc.py')
-rw-r--r-- | setuptools/msvc.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/setuptools/msvc.py b/setuptools/msvc.py index 8c612129..b543c568 100644 --- a/setuptools/msvc.py +++ b/setuptools/msvc.py @@ -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, ) |