diff --git a/MANIFEST.in b/MANIFEST.in
index c53b26f1f8e93dff23ed0241769ae2dcc5d421f0..1aab9bbceec569a28ff05422541b4bfbaadc1fd9 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -4,9 +4,17 @@ include HISTORY.rst
 include LICENSE
 include README.rst
 
-recursive-exclude tests *
+exclude .coveragerc
+exclude .gitattributes
+exclude .gitignore
+exclude .gitlab-ci.yml
+exclude MANIFEST.in
+
+recursive-exclude .github *
+recursive-exclude docs *
 recursive-exclude examples *
+recursive-exclude tests *
 recursive-exclude * __pycache__
 recursive-exclude * *.py[co]
 
-recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
+recursive-include *.rst conf.py Makefile make.bat *.jpg *.png *.gif
diff --git a/pyproject.toml b/pyproject.toml
index 093fc340b13632574439dc001e00194ad8f9f99a..b8f3df4d1340c4d23dc2a1ecd3c571ef29f58054 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -136,11 +136,6 @@ include-package-data = true
 license-files = ["LICENSE"]
 
 [tool.setuptools.packages.find]
-exclude = [
-    "docs*",
-    "examples*",
-    "tests*",
-]
 namespaces = false
 
 [tool.setuptools.dynamic]