-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
the name of artifact #3356
Comments
As far as I know, the tags in the wheel name are meant to restrict the environment in which the wheel can be installed. If you want to restrict the environments your project is compatible with, you should specify the right trove classifiers. Trove classifiers are mostly informal (as far as I remember). They won't really prevent someone on Windows to install your project, but it's on them to check the classifiers and the documentation of your project beforehand. The wheel tags, are here to prevent to install in an environment where installation itself would most likely fail. Trove classifiers can inform (loosely) about what platforms it should run on, in other words it inform that the project would most likely fail at run-time (not at install-time) on other platforms. Here is how to set them in a poetry project:
|
Classifiers are not an adequate replacement for precise build tags. This has been requested before in #2051, and I also require support for this. Right now, the logic is extremely simple (i.e. |
Alright, should we close this ticket in favour of the other one? Duplicate: #2051 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue
After run peotry build, I get whl file with name as xxx-0.7.0-py3-none-any.whl
I need to indicate that the package works on linux only, i.e, I need a name like:
xxx-0.7.0-py3-linux.whl
how should I get this? Found no documentation about specify sys.platform. I tried to put it under:
with no luck.
Thanks for help!
The text was updated successfully, but these errors were encountered: