Skip to content

Commit 6138db9

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

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-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

+1-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ 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"}
1110
authors = [{name = "The PyGMT Developers", email = "[email protected]"}]
1211
keywords = [
1312
"cartography",
@@ -56,15 +55,12 @@ changelog = "https://www.pygmt.org/latest/changes.html"
5655

5756
[tool.setuptools]
5857
platforms = ["Any"]
59-
include-package-data = true
58+
license-files = ["LICENSE.txt"]
6059

6160
[tool.setuptools.packages.find]
6261
include = ["pygmt*"]
6362
exclude = ["doc"]
6463

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

0 commit comments

Comments
 (0)