You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading the current setuptools v58.2.0 documentation, it is unclear to me how to tag setup.cfg-only package releases. This page mentions that you can add tag settings to your setup.cfg file. However, this page does not mention this at all.
My specific goal in reading the documentation was to learn how to tag a setup.cfg-only package with a custom build tag, in the style of --tag-build=STRING.
OS / Environment
No response
Additional Information
This documentation change better helps developers move toward a setup.cfg-only setuptools future.
Code of Conduct
I agree to follow the PSF Code of Conduct
The text was updated successfully, but these errors were encountered:
Not necessarily. This issue is that the documentation doesn't tell a user how to tag setup.cfg-only packages. If passing tags to python -m build is supposed to work and is the intended way that users are to tag setup.cfg-only packages, then #2491 is related. I did at one point try passing tags to python -m build and it didn't work, but it was unclear to me if I was supposed to be doing that.
Thank you very much for the clarification @markgras!
Yes, indeed this topic needs better docs, however it is likely that it will take a bit longer because there are some discussions going on.
Meanwhile, if you are using build, there is a hint on how this can be done in pypa/build#202 (comment), but I suspect you can also try borrowing a bit of setuptools' own configuration:
Summary
Reading the current setuptools v58.2.0 documentation, it is unclear to me how to tag setup.cfg-only package releases. This page mentions that you can add tag settings to your setup.cfg file. However, this page does not mention this at all.
My specific goal in reading the documentation was to learn how to tag a setup.cfg-only package with a custom build tag, in the style of
--tag-build=STRING
.OS / Environment
No response
Additional Information
This documentation change better helps developers move toward a setup.cfg-only setuptools future.
Code of Conduct
The text was updated successfully, but these errors were encountered: