From df89b2edd12559297ad19c587bf70f5b98cdbc45 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sun, 17 Nov 2024 14:31:04 +0100 Subject: [PATCH] Do not build hades_python libpython is not available --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b25ff43..c15e2a9 100755 --- a/setup.py +++ b/setup.py @@ -169,7 +169,7 @@ class BuildCMakeExt(build_ext): self.spawn(['bash', 'build.sh', '--build-dir', self.build_temp, f"--python={sys.executable}", "--c-compiler", c_compiler, "--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" ])