1. Ronald Oussoren
  2. pyobjc

Source

pyobjc / pyobjc-framework-InstallerPlugins / pyobjc_setup.py

Diff from to

File pyobjc-framework-InstallerPlugins/pyobjc_setup.py

  • Ignore whitespace
 
     plat_name = "MacOS X"
     plat_versions = []
-    if min_os_level is not None:
-        plat_versions.append(">=%s"%(min_os_level,))
-    if max_os_level is not None:
-        plat_versions.append("<=%s"%(min_os_level,))
+    if min_os_level is not None and min_os_level == max_os_level:
+        plat_versions.append("==%s"%(min_os_level,))
+    else:
+        if min_os_level is not None:
+            plat_versions.append(">=%s"%(min_os_level,))
+        if max_os_level is not None:
+            plat_versions.append("<=%s"%(max_os_level,))
     if plat_versions:
         plat_name += " (%s)"%(", ".join(plat_versions),)