pypa / twine

Utilities for interacting with PyPI

Home Page:https://twine.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[question] Support android?

Freed-Wu opened this issue · comments

commented

I try to build a wheel on android by termux. I got a file astyle-3.3b3-cp311-cp311-linux_aarch64.whl. However, I cannot upload it by twine due to

Uploading astyle-3.3b3-cp311-cp311-linux_aarch64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB • 00:01 • 118.3 MB/s
WARNING Error during upload. Retry with the --verbose option for more details.
ERROR HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Binary wheel 'astyle-3.3b3-cp311-cp311-linux_aarch64.whl' has an unsupported platform tag 'linux_aarch64'.

  1. I notice other package for linux, usually named manylinux or musllinux. So bare linux is a little weird. What does the name come from?
  2. So what is the correct method to upload a wheel support android?