mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
kludge to fixup osver in python for Mac
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4d1d067d42
commit
6cd619d377
|
@ -313,6 +313,8 @@ if 'bdist_wheel' in sys.argv and '--plat-name' not in sys.argv:
|
||||||
osver = RELEASE_METADATA[3]
|
osver = RELEASE_METADATA[3]
|
||||||
if osver.count('.') > 1:
|
if osver.count('.') > 1:
|
||||||
osver = '.'.join(osver.split('.')[:2])
|
osver = '.'.join(osver.split('.')[:2])
|
||||||
|
if osver.startswith("11"):
|
||||||
|
osver = "11_0"
|
||||||
if arch == 'x64':
|
if arch == 'x64':
|
||||||
plat_name ='macosx_%s_x86_64' % osver.replace('.', '_')
|
plat_name ='macosx_%s_x86_64' % osver.replace('.', '_')
|
||||||
elif arch == 'arm64':
|
elif arch == 'arm64':
|
||||||
|
|
Loading…
Reference in a new issue