We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df407e2 commit 0c1979cCopy full SHA for 0c1979c
setup.py
@@ -19,7 +19,8 @@
19
elif platform.system() in ["Linux", "Darwin"]:
20
if_win = False
21
if platform.system() == "Darwin" and (
22
- "MACOSX_DEPLOYMENT_TARGET" not in os.environ or float(os.environ["MACOSX_DEPLOYMENT_TARGET"]) < 13.3
+ "MACOSX_DEPLOYMENT_TARGET" not in os.environ
23
+ or tuple(map(int, os.environ["MACOSX_DEPLOYMENT_TARGET"].split("."))) < (13, 3)
24
):
25
os.environ["MACOSX_DEPLOYMENT_TARGET"] = "13.3"
26
else:
0 commit comments