Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions misc/upload-pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ def is_whl_or_tar(name: str) -> bool:


def item_ok_for_pypi(name: str) -> bool:
if not is_whl_or_tar(name):
return False

name = name.removesuffix(".tar.gz")
name = name.removesuffix(".whl")

if name.endswith("wasm32"):
return False

return True
return is_whl_or_tar(name)


def get_release_for_tag(tag: str) -> dict[str, Any]:
Expand Down
Loading