diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from setuptools import setup
+from setuptools import setup, find_packages
 import duniterpy
 import os
 import re
@@ -47,7 +47,7 @@ setup(
 
     version=duniterpy.__version__,
 
-    packages=['duniterpy'],
+    packages=find_packages(exclude=["tests*"]),
 
     package_data={"duniterpy": ["py.typed"]},
[fix] #<I> fix build not include all folders in gitlab runner