xarray-contrib / pint-xarray

Interface for using pint with xarray, providing convenience accessors
https://pint-xarray.readthedocs.io/en/latest/
Apache License 2.0
101 stars 12 forks source link

move the project metadata to `pyproject.toml` #201

Closed keewis closed 1 year ago

keewis commented 1 year ago

More recent versions of setuptools support specifying the project metadata in pyproject.toml (we still get a warning that support for additional setuptools specific configuration in pyproject.toml is beta).

This has two main advantages:

but we can also get rid of setup.py, since recent versions of setuptools support PEP660.

I didn't modify anything else, so this should be pretty much a maintenance PR, but we should figure out a dependency policy (like, support a versions of dependencies for at least 6 or 12 months). That way, we don't have seriously old versions as minimum versions in the package metadata.