Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packaging.tags.interpreter_tag #612

Open
FFY00 opened this issue Nov 9, 2022 · 1 comment · May be fixed by #613
Open

Add packaging.tags.interpreter_tag #612

FFY00 opened this issue Nov 9, 2022 · 1 comment · May be fixed by #613

Comments

@FFY00
Copy link
Member

FFY00 commented Nov 9, 2022

Similarly to #610, the following logic could be exposed as public API.

packaging/packaging/tags.py

Lines 501 to 506 in 606c71a

if interp_name == "pp":
interp = "pp3"
elif interp_name == "cp":
interp = "cp" + interpreter_version(warn=warn)
else:
interp = None

@brettcannon
Copy link
Member

Same question as in #610; all potential tags or just the most strict one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants