From 2def20d75ed5f0c4c1abd14b1f674d7b8c4f213e Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sat, 30 Jan 2021 18:12:09 +0000 Subject: [PATCH] Remove unused function --- cibuildwheel/macos.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/cibuildwheel/macos.py b/cibuildwheel/macos.py index 0498f7f8..e6395449 100644 --- a/cibuildwheel/macos.py +++ b/cibuildwheel/macos.py @@ -52,18 +52,6 @@ def get_macos_version() -> Tuple[int, int]: return cast(Tuple[int, int], version) -def get_xcode_version() -> Tuple[int, int]: - output = subprocess.check_output( - ['xcodebuild', '-version'], - universal_newlines=True, - ) - lines = output.splitlines() - _, version_str = lines[0].split() - - version_parts = version_str.split('.') - return (int(version_parts[0]), int(version_parts[1])) - - def get_macos_sdks() -> List[str]: output = subprocess.check_output( ['xcodebuild', '-showsdks'],