Do not build hades_python libpython is not available
This commit is contained in:
parent
9f66b5cfc1
commit
df89b2edd1
2
setup.py
2
setup.py
@ -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"
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user