Skip to content

Commit

Permalink
Exclude doc/ from wheel
Browse files Browse the repository at this point in the history
The automatic discovery adds doc/ to the wheel triggered by the
presence of `conf.py` in that directory.
  • Loading branch information
penguinpee committed Jun 8, 2024
1 parent 5824e57 commit 96bd543
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ xxhash = ["xxhash>=1.4.3"]
"Bug Tracker" = "https://github.com/fatiando/pooch/issues"
"Source Code" = "https://github.com/fatiando/pooch"

[tool.setuptools.packages]
find = {} # Scanning implicit namespaces is active by default
[tool.setuptools.packages.find]
# Scanning implicit namespaces is active by default
exclude = ["doc*"]

[tool.setuptools.package-data]
"pooch.tests.data" = ["*.txt", "*.zip", "*.gz", "*.xz", "*.bz2"]
Expand Down

0 comments on commit 96bd543

Please sign in to comment.