From ac87232726e389a8c82b8c436c5a8f985998942c Mon Sep 17 00:00:00 2001 From: Raphael Gaschignard Date: Mon, 12 Aug 2024 20:24:40 +1000 Subject: [PATCH] Exclude docs, tests, and the sample project from the package --- CHANGELOG.rst | 2 ++ MANIFEST.in | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cd7b6cd0..ed9057d1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,8 @@ Changelog (Unreleased) ~~~~~~~~~~~~ +* We no longer package tests, docs, or the sample taggit app into the distributed wheels. While we believe this shouldn't affect anything for users of the library, please tell us if you find yourself hitting issues (like around import errors) + * Added a management command (``remove_orphaned_tags``) to remove orphaned tags 6.0.0 (2024-07-27) diff --git a/MANIFEST.in b/MANIFEST.in index 12282a07..982a8e0e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,7 +2,10 @@ include AUTHORS include CHANGELOG.rst include LICENSE include README.rst -include tox.ini -recursive-include docs *.py *.rst +include setup.cfg +include setup.py +recursive-include taggit *.py recursive-include taggit/locale *.mo *.po -recursive-include tests *.html *.py +prune tests +prune sample_taggit +prune docs