-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Merge metadata with project table in pyproject.toml #555
Conversation
src/metadata.rs
Outdated
pyproject_toml: &PyProjectToml, | ||
manifest_path: impl AsRef<Path>, | ||
) -> Result<()> { | ||
// FIXME: where to find `pyproject.toml`? relative to manifest_path? relative to working directory? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm opening this draft PR for discussion.
@konstin what's your thought about this?
23bd20a
to
d0de556
Compare
291583f
to
ceebb53
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much! The only major thing is updating the "Python metadata" section in the readme (and porting all the test crates' metadata, but that we can do later)
@@ -136,7 +306,7 @@ impl Metadata21 { | |||
.package | |||
.keywords | |||
.clone() | |||
.map(|keywords| keywords.join(" ")), | |||
.map(|keywords| keywords.join(",")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh what did I miss there?
Co-authored-by: konstin <[email protected]>
https://packaging.python.org/specifications/core-metadata/#keywords The specification previously showed keywords separated by spaces, but distutils and setuptools implemented it with commas. These tools have been very widely used for many years, so it was easier to update the specification to match the de facto standard.
…ers` https://packaging.python.org/specifications/core-metadata/#classifier-multiple-use I've downloaded `Flask` and `requests` from PyPI, they all show `Classifier` in wheel metadata
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again!
Closes #465