--- a/setup.cfg
+++ b/setup.cfg
@@ -30,7 +30,10 @@ zip_safe = False
[options.packages.find]
where = src
-exclude = exampleproj
+exclude =
+ exampleproj
+ *.tests
+ *.tests.*
[options.package_data]
incremental = py.typed