diff --git a/setup.py b/setup.py
index 1ed3b124aefe35f4c257f856587f8c9579bfb3d1..09f7696735a8c6d5dd985b0258652ec390c518b8 100644
--- a/setup.py
+++ b/setup.py
@@ -43,17 +43,6 @@ class CMakeBuild(build_ext):
 
         os.chdir(str(build_temp))
 
-        # Impose to use the executable of the python
-        # used to launch setup.py to setup PythonInterp
-        python_executable = sys.executable
-        python_include_dirs = sysconfig.get_path('include')  
-        python_library = sysconfig.get_config_var('LIBDIR')
-        python_prefix = sys.exec_prefix
-        print(f"python executable {python_executable}")
-        print(f"python include dirs {python_include_dirs}")
-        print(f"python library {python_library}")
-        print(f"python prefix {python_prefix}")
-
         compile_type = "Debug"
         install_path = (
             os.path.join(sys.prefix, "lib", "libAidge")
@@ -64,9 +53,6 @@ class CMakeBuild(build_ext):
             [
                 "cmake",
                 str(cwd),
-                f"-DPYTHON_EXECUTABLE={python_executable}",
-                f"-DPYTHON_INCLUDE_DIR={python_include_dirs}",
-                f"-DPYTHON_LIBRARY={python_library}",
                 "-DTEST=OFF",
                 f"-DCMAKE_INSTALL_PREFIX:PATH={install_path}",
                 f"-DCMAKE_BUILD_TYPE={compile_type}",