mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 18:45:33 +00:00
try to update setup.py to libc naming
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b6294ab235
commit
98eae28fca
4 changed files with 5 additions and 11 deletions
|
@ -234,7 +234,7 @@ if 'bdist_wheel' in sys.argv and '--plat-name' not in sys.argv:
|
|||
distos = RELEASE_METADATA[2]
|
||||
if distos in ('debian', 'ubuntu') or 'linux' in distos:
|
||||
raise Exception("Linux binary distributions must be built on centos to conform to PEP 513")
|
||||
elif distos == 'centos':
|
||||
elif distos == 'libc':
|
||||
if arch == 'x64':
|
||||
plat_name = 'manylinux1_x86_64'
|
||||
else:
|
||||
|
@ -251,9 +251,9 @@ if 'bdist_wheel' in sys.argv and '--plat-name' not in sys.argv:
|
|||
if arch == 'x64':
|
||||
plat_name ='macosx_%s_x86_64' % osver.replace('.', '_')
|
||||
else:
|
||||
raise Exception('idk how os x works. what goes here?')
|
||||
raise Exception(f"idk how os {distos} {osvar} works. what goes here?")
|
||||
else:
|
||||
raise Exception("idk how to translate between this z3 release os and the python naming scheme")
|
||||
raise Exception(f"idk how to translate between this z3 release os {distos} and the python naming scheme")
|
||||
|
||||
idx = sys.argv.index('bdist_wheel') + 1
|
||||
sys.argv.insert(idx, '--plat-name')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue