Skip to content

Commit 6bc6459

Browse files
committed
Exclude CODE_OF_CONDUCT.md, AUTHORSHIP.md and pygmt/tests directory from distributions
1 parent 24e0324 commit 6bc6459

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

MANIFEST.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ prune .github*
33
prune ci
44
prune doc*
55
prune examples*
6+
prune pygmt/tests*
67
exclude .dvcignore
78
exclude .gitignore
89
exclude .readthedocs.yaml
910
exclude AUTHORSHIP.md
11+
exclude CODE_OF_CONDUCT.md
1012
exclude CONTRIBUTING.md
1113
exclude Makefile
1214
exclude environment.yml
1315
exclude requirements.txt
14-
exclude pygmt/tests/baseline/*.dvc

pyproject.toml

+2-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "pygmt"
77
description = "A Python interface for the Generic Mapping Tools"
88
readme = "README.rst"
99
requires-python = ">=3.9"
10-
license = {text = "BSD License"}
10+
license = {file = "LICENSE.txt"}
1111
authors = [{name = "The PyGMT Developers", email = "[email protected]"}]
1212
keywords = [
1313
"cartography",
@@ -56,15 +56,12 @@ changelog = "https://www.pygmt.org/latest/changes.html"
5656

5757
[tool.setuptools]
5858
platforms = ["Any"]
59-
include-package-data = true
59+
license-files = ["LICENSE.txt"]
6060

6161
[tool.setuptools.packages.find]
6262
include = ["pygmt*"]
6363
exclude = ["doc"]
6464

65-
[tool.setuptools.package-data]
66-
tests = ["data/*", "baseline/*"]
67-
6865
[tool.setuptools_scm]
6966
local_scheme = "node-and-date"
7067
fallback_version = "999.999.999+unknown"

0 commit comments

Comments
 (0)