Skip to content

Commit 2def20d

Browse files
committed
Remove unused function
1 parent a79f0ef commit 2def20d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

cibuildwheel/macos.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,6 @@ def get_macos_version() -> Tuple[int, int]:
5252
return cast(Tuple[int, int], version)
5353

5454

55-
def get_xcode_version() -> Tuple[int, int]:
56-
output = subprocess.check_output(
57-
['xcodebuild', '-version'],
58-
universal_newlines=True,
59-
)
60-
lines = output.splitlines()
61-
_, version_str = lines[0].split()
62-
63-
version_parts = version_str.split('.')
64-
return (int(version_parts[0]), int(version_parts[1]))
65-
66-
6755
def get_macos_sdks() -> List[str]:
6856
output = subprocess.check_output(
6957
['xcodebuild', '-showsdks'],

0 commit comments

Comments
 (0)