diff options
author | 2021-02-01 04:29:44 +0100 | |
---|---|---|
committer | 2021-01-31 22:29:44 -0500 | |
commit | 49926cf2bcc8b44d9b8f148d81979ada191dd9d5 (patch) | |
tree | be9a04e3ca1007a0230b6dcf2cbab176aead735e /setup.py | |
parent | bpo-42927: Update the What's new entry for LOAD_ATTR optimizations (GH-24383) (diff) | |
download | cpython-49926cf2bcc8b44d9b8f148d81979ada191dd9d5.tar.gz cpython-49926cf2bcc8b44d9b8f148d81979ada191dd9d5.tar.bz2 cpython-49926cf2bcc8b44d9b8f148d81979ada191dd9d5.zip |
bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string (GH-24341)
* bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1072,7 +1072,7 @@ class PyBuildExt(build_ext): os_release = int(os.uname()[2].split('.')[0]) dep_target = sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') if (dep_target and - (tuple(int(n) for n in str(dep_target).split('.')[0:2]) + (tuple(int(n) for n in dep_target.split('.')[0:2]) < (10, 5) ) ): os_release = 8 if os_release < 9: |