-
Notifications
You must be signed in to change notification settings - Fork 19
Update packaging #137
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
Update packaging #137
Changes from 6 commits
6c09097
2718ac4
0cadce3
5298303
0739358
4dbf3ce
390de13
894a5e0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,30 +1,33 @@ | ||||||||
| [build-system] | ||||||||
| requires = ["flit_core >=3.2,<4"] | ||||||||
| requires = ["flit_core >=3.12,<4"] | ||||||||
| build-backend = "flit_core.buildapi" | ||||||||
|
|
||||||||
| [project] | ||||||||
| name = "pyopenms_viz" | ||||||||
| module = "pyopenms_viz" | ||||||||
| dist-name = "pyopenms_viz" | ||||||||
| author = "OpenMS Team" | ||||||||
| authors = [ | ||||||||
| {name = "OpenMS Team", email = "webmaster@openms.de"}, | ||||||||
| {name = "Joshua Charkow", email = "joshuacharkow@gmail.com"}, | ||||||||
| ] | ||||||||
| version = "1.0.0" | ||||||||
| author-email = "joshuacharkow@gmail.com" | ||||||||
| home-page = "https://github.com/OpenMS/pyopenms_viz/" | ||||||||
| description = "A package for visualizing mass spectrometry data using pandas dataframes" | ||||||||
| readme = "README.md" | ||||||||
| readme-content-type = "text/markdown" | ||||||||
| classifiers = [ | ||||||||
| "Intended Audience :: Science/Research", | ||||||||
|
||||||||
| "Intended Audience :: Science/Research", | |
| "Intended Audience :: Science/Research", | |
| "License :: OSI Approved :: BSD License", |
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.
Your suggestion is not compliant with current Python packaging standards and PyPi is perfectly aware of the license field.
And where does "classifiers serve a different purpose than the license field" come from? Please provide links to authoritative documentation.
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.
PyPI moved to license in 2024:
pypi/warehouse#16620 (comment)
DimitriPapadopoulos marked this conversation as resolved.
Show resolved
Hide resolved
Copilot
AI
Jan 16, 2026
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.
The license-files field is redundant when using the SPDX license identifier format. When license is specified as a string (SPDX identifier), the license-files field is not needed according to PEP 621. Either use license = {text = \"BSD-3-Clause\"} with license-files, or use just license = \"BSD-3-Clause\" without license-files.
| license-files = ["LICENSE"] |
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.
Where does this come from? It's a bad idea and it's not compliant with PEP 639.
See "Use a default value for license-files if not specified" in Appendix: Rejected Ideas of PEP 639.
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.
We can likely remove my name/email and just keep the OpenMS team in this new format