1
0

manylinux.py 386 B

1234567891011121314
  1. def format_appimage_name(abi, version, tag):
  2. '''Format the Python AppImage name using the ABI, python version and OS tags
  3. '''
  4. return 'python{:}-{:}-{:}.AppImage'.format(
  5. version, abi, format_tag(tag))
  6. def format_tag(tag):
  7. '''Format Manylinux tag
  8. '''
  9. if tag.startswith('2_'):
  10. return 'manylinux_' + tag
  11. else:
  12. return 'manylinux' + tag