diff --git a/.gitignore b/.gitignore
index 824243fd9763052028443d0cc62589159d53f1bc..b17a6be504a8ddacad7a84b0473abc76ca461a1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,18 +8,18 @@ install*/
 # VSCode
 .vscode
 
-# Python
+## Python
+# build/packaging artifacts
 *.so
 __pycache__
 *.pyc
-*.egg-info
 dist*/
+*.egg-info
 wheelhouse/*
 _version.py
-*xmlrunner-results.xml
-
-# python test artifact
+# test artifact
 aidge_core/dummy_export/*
+*xmlrunner-results.xml
 
 # Mermaid
 *.mmd
diff --git a/aidge_core/unit_tests/test_export.py b/aidge_core/unit_tests/test_export.py
index 59f4d7bf0d59c30d1d3d2eb5b4b731ff8b34ec62..febeef96c0158f242cce112f723c391d623f7e4d 100644
--- a/aidge_core/unit_tests/test_export.py
+++ b/aidge_core/unit_tests/test_export.py
@@ -95,6 +95,7 @@ class test_export(unittest.TestCase):
             [
                 "cmake",
                 str(self.EXPORT_PATH.absolute()),
+                "-DPYBIND=1",
                 f"-DCMAKE_INSTALL_PREFIX:PATH={install_path}",
             ],
             cwd=str(self.EXPORT_PATH / "build"),