Do not build hades_python libpython is not available

This commit is contained in:
Guilhem Lavaux 2024-11-17 14:31:04 +01:00
parent 9f66b5cfc1
commit df89b2edd1

View File

@ -169,7 +169,7 @@ class BuildCMakeExt(build_ext):
self.spawn(['bash', 'build.sh', '--build-dir', self.build_temp, self.spawn(['bash', 'build.sh', '--build-dir', self.build_temp,
f"--python={sys.executable}", "--c-compiler", c_compiler, f"--python={sys.executable}", "--c-compiler", c_compiler,
"--cxx-compiler", cxx_compiler, '--purge', "--cxx-compiler", cxx_compiler, '--purge',
'--hades-python', '--install-system-python', '--install-system-python',
'--extra-flags', f"-DPYTHON_SITE_PACKAGES={install_dir} -DINSTALL_COMPATIBILITY_PYBORG=OFF -DINSTALL_SHARED=ON -DDATA_INSTALL_DIR={install_dir}/aquila_borg/_data" '--extra-flags', f"-DPYTHON_SITE_PACKAGES={install_dir} -DINSTALL_COMPATIBILITY_PYBORG=OFF -DINSTALL_SHARED=ON -DDATA_INSTALL_DIR={install_dir}/aquila_borg/_data"
]) ])