From 5a51592b04d443152e560e391232b2c704c6ed18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Kubler?= <gregoire.kubler@proton.me> Date: Mon, 10 Jun 2024 13:56:10 +0200 Subject: [PATCH] chore : removed useless definition in setup.py cmake command --- setup.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/setup.py b/setup.py index d184ef3bb..cf881b4b2 100644 --- a/setup.py +++ b/setup.py @@ -42,16 +42,11 @@ 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 else os.environ["AIDGE_PYTHON_BUILD_TYPE"] ) - install_path = ( os.path.join(sys.prefix, "lib", "libAidge") if "AIDGE_INSTALL" not in os.environ @@ -61,7 +56,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}", -- GitLab