Browse Source

makepanda: Fix naming of wheels for macOS 12.0

rdb 3 years ago
parent
commit
c966a6898c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makepanda.py

+ 1 - 1
makepanda/makepanda.py

@@ -451,7 +451,7 @@ elif target == 'darwin':
     else:
     else:
         maj, min = platform.mac_ver()[0].split('.')[:2]
         maj, min = platform.mac_ver()[0].split('.')[:2]
         osxver = int(maj), int(min)
         osxver = int(maj), int(min)
-        if osxver[0] == 11:
+        if osxver[0] >= 11:
             # I think Python pins minor version to 0 from macOS 11 onward
             # I think Python pins minor version to 0 from macOS 11 onward
             osxver = (osxver[0], 0)
             osxver = (osxver[0], 0)