diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ with open(os.path.join(os.path.dirname(__file__), "README.md")) as f:
 
 setup(
     name="pyinstrument",
-    packages=find_packages(),
+    packages=find_packages(include=("pyinstrument", "pyinstrument.*")),
     version="4.0.3",
     ext_modules=[
         Extension(
Ensure test/ is not installed in site-packages