Skip to content

Commit

Permalink
kludge to fixup osver in python for Mac
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Dec 8, 2023
1 parent 4d1d067 commit 6cd619d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ def run(self):
osver = RELEASE_METADATA[3]
if osver.count('.') > 1:
osver = '.'.join(osver.split('.')[:2])
if osver.startswith("11"):
osver = "11_0"
if arch == 'x64':
plat_name ='macosx_%s_x86_64' % osver.replace('.', '_')
elif arch == 'arm64':
Expand Down

0 comments on commit 6cd619d

Please sign in to comment.