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