mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 03:49:58 +00:00
Filter unsupported py versions on recent osx
This commit is contained in:
@@ -263,6 +263,11 @@ def run(cmds, cwd=None):
|
|||||||
|
|
||||||
return stdout.strip()
|
return stdout.strip()
|
||||||
|
|
||||||
|
if platform.system() == "Darwin":
|
||||||
|
if run(["sw_vers", "-productVersion"]) >= "11.":
|
||||||
|
# Apparently not supported
|
||||||
|
PYTHON_VERSIONS = [pv for pv in PYTHON_VERSIONS if tuple(map(int, pv.split("."))) >= (3, 7)]
|
||||||
|
|
||||||
BOOST_VERSION_UNDERSCORE = BOOST_VERSION.replace(".", "_")
|
BOOST_VERSION_UNDERSCORE = BOOST_VERSION.replace(".", "_")
|
||||||
|
|
||||||
OCE_LOCATION = f"https://github.com/tpaviot/oce/archive/OCE-{OCE_VERSION}.tar.gz"
|
OCE_LOCATION = f"https://github.com/tpaviot/oce/archive/OCE-{OCE_VERSION}.tar.gz"
|
||||||
|
|||||||
Reference in New Issue
Block a user