diff --git a/setup.py b/setup.py index af692733b875fa76d658faa5a690d33896d42c55..11162c88154c24aae330e828201c868aaa09bf1a 100644 --- a/setup.py +++ b/setup.py @@ -46,11 +46,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 - print(f"python executable :\t{python_executable}") - compile_type = ( "Release" if "AIDGE_PYTHON_BUILD_TYPE" not in os.environ @@ -66,7 +61,6 @@ class CMakeBuild(build_ext): [ "cmake", str(cwd), - f"-DPYTHON_EXECUTABLE={python_executable}", "-DTEST=OFF", f"-DCMAKE_INSTALL_PREFIX:PATH={install_path}", f"-DCMAKE_BUILD_TYPE={compile_type}",