Skip to content

Commit

Permalink
Use linux rather than manylinux or musllinux in tag
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Apr 29, 2024
1 parent 4ae8833 commit f8fc5b3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@ def _infer_tag(self) -> str:

from packaging.tags import sys_tags

tag = next(sys_tags())
tag = next(
iter(
tag
for tag in sys_tags()
if "manylinux" not in tag.platform and "musllinux" not in tag.platform
)
)
tag_platform = tag.platform

# On macOS, set the version based on `MACOSX_DEPLOYMENT_TARGET`.
Expand Down

0 comments on commit f8fc5b3

Please sign in to comment.