diff --git a/pyproject.toml b/pyproject.toml index 89f9d907bad..fc17957b49b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2"] +requires = ["setuptools>=77", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" [project] @@ -8,6 +8,8 @@ description = "A Python interface for the Generic Mapping Tools" readme = "README.md" requires-python = ">=3.11" authors = [{name = "The PyGMT Developers", email = "pygmt.team@gmail.com"}] +license = "BSD-3-Clause" +license-files = ["LICENSE.txt"] keywords = [ "cartography", "geodesy", @@ -31,7 +33,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: BSD License", ] dependencies = [ "numpy>=1.25", @@ -58,9 +59,6 @@ all = [ "Changelog" = "https://www.pygmt.org/latest/changes.html" "Issue Tracker" = "https://github.com/GenericMappingTools/pygmt/issues" -[tool.setuptools] -license-files = ["LICENSE.txt"] - [tool.setuptools.packages.find] include = ["pygmt*"] exclude = ["doc"]