diff --git a/setup.py b/setup.py index 4cc1483980ea6c938e7b5e0af5237cccb65e4290..e551567e1d4ba403fcdca0a8823a825670a57508 100644 --- a/setup.py +++ b/setup.py @@ -44,15 +44,15 @@ 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}") + # 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_BUILD_TYPE" not in os.environ - else os.environ["AIDGE_BUILD_TYPE"] + if "AIDGE_PYTHON_BUILD_TYPE" not in os.environ + else os.environ["AIDGE_PYTHON_BUILD_TYPE"] ) install_path = (