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

chore : removed useless variables

parent ce2bde40
No related branches found
No related tags found
No related merge requests found
...@@ -43,17 +43,6 @@ class CMakeBuild(build_ext): ...@@ -43,17 +43,6 @@ class CMakeBuild(build_ext):
os.chdir(str(build_temp)) 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" compile_type = "Debug"
install_path = ( install_path = (
os.path.join(sys.prefix, "lib", "libAidge") os.path.join(sys.prefix, "lib", "libAidge")
...@@ -64,9 +53,6 @@ class CMakeBuild(build_ext): ...@@ -64,9 +53,6 @@ class CMakeBuild(build_ext):
[ [
"cmake", "cmake",
str(cwd), str(cwd),
f"-DPYTHON_EXECUTABLE={python_executable}",
f"-DPYTHON_INCLUDE_DIR={python_include_dirs}",
f"-DPYTHON_LIBRARY={python_library}",
"-DTEST=OFF", "-DTEST=OFF",
f"-DCMAKE_INSTALL_PREFIX:PATH={install_path}", f"-DCMAKE_INSTALL_PREFIX:PATH={install_path}",
f"-DCMAKE_BUILD_TYPE={compile_type}", 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