Add aarch64 to the update

This commit is contained in:
Valentin Niess
2025-05-22 23:43:51 +02:00
parent d1eb24e0f4
commit f9b46b5e7f
7 changed files with 86 additions and 32 deletions

View File

@@ -0,0 +1,14 @@
def format_appimage_name(abi, version, tag):
'''Format the Python AppImage name using the ABI, python version and OS tags
'''
return 'python{:}-{:}-{:}.AppImage'.format(
version, abi, format_tag(tag))
def format_tag(tag):
'''Format Manylinux tag
'''
if tag.startswith('2_'):
return 'manylinux_' + tag
else:
return 'manylinux' + tag