diff --git a/MANIFEST.in b/MANIFEST.in index 88e203e9492..da8835b2c12 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,12 +3,13 @@ prune .github* prune ci prune doc* prune examples* +prune pygmt/tests* exclude .dvcignore exclude .gitignore exclude .readthedocs.yaml exclude AUTHORSHIP.md +exclude CODE_OF_CONDUCT.md exclude CONTRIBUTING.md exclude Makefile exclude environment.yml exclude requirements.txt -exclude pygmt/tests/baseline/*.dvc diff --git a/pyproject.toml b/pyproject.toml index 99f50767ae3..253fb2c1160 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,6 @@ name = "pygmt" description = "A Python interface for the Generic Mapping Tools" readme = "README.rst" requires-python = ">=3.9" -license = {text = "BSD License"} authors = [{name = "The PyGMT Developers", email = "pygmt.team@gmail.com"}] keywords = [ "cartography", @@ -56,15 +55,12 @@ changelog = "https://www.pygmt.org/latest/changes.html" [tool.setuptools] platforms = ["Any"] -include-package-data = true +license-files = ["LICENSE.txt"] [tool.setuptools.packages.find] include = ["pygmt*"] exclude = ["doc"] -[tool.setuptools.package-data] -tests = ["data/*", "baseline/*"] - [tool.setuptools_scm] local_scheme = "node-and-date" fallback_version = "999.999.999+unknown"