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

Use a text field for license in pyproject.toml #442

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Conversation

leouieda
Copy link
Member

When using the "file" field type, PyPI putting the entire contents of the file into the license field and mislabeling it as MIT. Replace it with just the string for the license name and not the contents of the file.

When using the "file" field type, PyPI putting the entire contents of the file into the license field and mislabeling it as MIT. Replace it with just the string for the license name and not the contents of the file/
@leouieda
Copy link
Member Author

See https://test.pypi.org/project/harmonica/ for the incorrect output.

@leouieda leouieda marked this pull request as ready for review October 30, 2023 20:46
@santisoler
Copy link
Member

Nice catch @leouieda!

@leouieda
Copy link
Member Author

Ah no wait, there is also the classifier causing problems.

@leouieda
Copy link
Member Author

Can't fix it now, gotta run

@leouieda leouieda marked this pull request as draft October 30, 2023 20:55
@leouieda leouieda marked this pull request as ready for review October 31, 2023 12:56
@leouieda
Copy link
Member Author

Alright, done! Ready for a review. I made a few tweaks as well to put fields closer to other relevant fields.

keywords = ["geoscience", "geophysics"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: BSD License",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops. Thanks for the fix!

@santisoler
Copy link
Member

I'm merging this. Thanks @leouieda!

@santisoler santisoler merged commit 39c89ad into main Nov 20, 2023
20 checks passed
@santisoler santisoler deleted the license-pyproject branch November 20, 2023 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants