fatiando / harmonica

Forward modeling, inversion, and processing gravity and magnetic data
https://www.fatiando.org/harmonica
BSD 3-Clause "New" or "Revised" License
208 stars 68 forks source link

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

Closed leouieda closed 9 months ago

leouieda commented 9 months ago

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 commented 9 months ago

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

santisoler commented 9 months ago

Nice catch @leouieda!

leouieda commented 9 months ago

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

leouieda commented 9 months ago

Can't fix it now, gotta run

leouieda commented 9 months ago

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

santisoler commented 9 months ago

I'm merging this. Thanks @leouieda!