Skip to content
Snippets Groups Projects
Commit 5a51592b authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

chore : removed useless definition in setup.py cmake command

parent 4252d4e4
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
......@@ -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}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment