diff options
author | 谭九鼎 <109224573@qq.com> | 2021-07-04 21:05:02 +0800 |
---|---|---|
committer | imba-tjd <109224573@qq.com> | 2021-11-15 18:01:10 +0800 |
commit | 2f343e783bd45407add738cc3a1395bf70207c46 (patch) | |
tree | dc0b4bd6b7ec4259451ecdc1f9635a4f13647783 | |
parent | eca30e8e9ac046312b90e1541166433e3ed9084c (diff) | |
download | python-setuptools-git-2f343e783bd45407add738cc3a1395bf70207c46.tar.gz |
Update distutils/cygwinccompiler.py
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
-rw-r--r-- | distutils/cygwinccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils/cygwinccompiler.py b/distutils/cygwinccompiler.py index 8288b8c8..f80ca622 100644 --- a/distutils/cygwinccompiler.py +++ b/distutils/cygwinccompiler.py @@ -88,7 +88,7 @@ def get_msvcr(): elif msc_ver == '1800': # VS2013 / MSVC 12.0 return ['msvcr120'] - elif int(msc_ver) >= 1900 and int(msc_ver) < 2000: + elif 1900 <= int(msc_ver) < 2000: # VS2015 / MSVC 14.0 return ['ucrt', 'vcruntime140'] else: |