From 87607acac916932efeefc716e19c7e9008ab2b8e Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Fri, 18 Jul 2025 15:03:46 +0100 Subject: [PATCH 1/2] Incorporate SciTools/.github#181. --- MANIFEST.in | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 31abc34839..45229e15e6 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -21,17 +21,6 @@ recursive-include lib *.cdl *.cml *.json *.md *.py *.template *.txt *.xml # - also possibly non-python, e.g. *.pyx for Cython -#--------- -# SECTION: docs -prune docs -# and if required ... include ONLY docs source files. -# E.G. recursive-include docs *.rst *.inc - # principles: - # - use prune to ignore everything (optionally: except the docs sources) - # hints: - # - most projects don't want to package the docs, but some currently do (cf-units). - - #--------- # SECTION: requirements prune requirements @@ -41,7 +30,6 @@ recursive-include requirements *.txt # hints: # - not all projects include requirements, but they can be drawn in anyway by dynamic dependencies # in the setuptools build process, linked via config in pyproject.toml - # - for some repos, the *.txt are actually lockfiles. This probably needs fixing. #--------- @@ -83,6 +71,7 @@ prune .github prune .nox prune .tox prune .coverage +prune docs # (2) top-level files to omit exclude .coveragerc # (3) file types (path patterns) to skip everywhere From f81d86ebc315cf56466ccb7bb1bec76101e8efd8 Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Fri, 18 Jul 2025 15:04:36 +0100 Subject: [PATCH 2/2] Incorporate SciTools/.github#183. --- MANIFEST.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index 45229e15e6..a8d6c0241e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -45,14 +45,19 @@ exclude .pre-commit-config.yaml exclude .readthedocs.yml exclude .ruff.toml exclude CHANGES +include CHANGELOG.md include CITATION.cff exclude CODE_OF_CONDUCT.md +exclude CONTRIBUTING.md include COPYING include COPYING.LESSER +include INSTALL include LICENSE exclude Makefile exclude codecov.yml include noxfile.py +include tox.ini +exclude pixi.lock # principles: # - *ANY* file in the root should be explicitly "include"- or "exclude"-d # - EXCEPT (possibly) those covered by setuptools default rules (see above link)