--- a/setup.cfg
+++ b/setup.cfg
@@ -104,6 +104,9 @@ mypy =
 
 [options.packages.find]
 where = src
+exclude = 
+	*.test
+	*.test.*
 
 [options.entry_points]
 console_scripts = 
@@ -123,6 +126,7 @@ console_scripts =
 	*.pxi
 	*.pyx
 	build.bat
+	test/*
 
 [flake8]
 disable-noqa = True