Replace setuptools's "platforms" metadata with classifiers #3744
Labels
good first issue
Good for newcomers
help wanted
Helping hands are appreciated
maintenance
Boring but important stuff for the core devs
Milestone
We have the
platforms
metadata defined in thetool.setuptools
section ofpyproject.toml
. The metadata has been defined since the start of the project (e.g., in v0.1a1: https://github.com/GenericMappingTools/pygmt/blob/2963f624371da4c8858df115b5703a7cc13602ac/setup.py).pygmt/pyproject.toml
Lines 56 to 58 in 4b9314a
If I remember correctly, this metadata was previously shown on PyPI, but it's not shown anymore (see https://pypi.org/project/pygmt, but I can't find any discussions about deprecating this metadata).
Looking at other projects, I think the standard way is to use classifiers instead (xref: https://pypi.org/classifiers/).
xarray/pandas use the
Operating System :: OS Independent
classifier, while numpy uses detailed classifiers likeOperating System :: MacOS
.I prefer the numpy style and propose to add the following classifiers (xref: https://pypi.org/classifiers/)
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
The text was updated successfully, but these errors were encountered: