Skip to content

Commit

Permalink
wheel formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed Jan 5, 2025
1 parent 8e67cb2 commit 712286a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ def _get_wheel_tag(self):
impl_ver = tags.interpreter_version()
abi_tag = get_abi_tag()
plat_tag = get_platform(None)
plat_tag = ( # macosx_11.0 => macosx_11_0
plat_tag.lower().replace("-", "_").replace(".", "_").replace(" ", "_")
)
return f"{impl_name}{impl_ver}-{abi_tag}-{plat_tag}"

0 comments on commit 712286a

Please sign in to comment.