feat: remove hdf5 dependencies and install logic

This commit is contained in:
Matthias
2025-01-06 13:21:16 +01:00
parent 0e5a88bf93
commit de2b8dcfdd
3 changed files with 1 additions and 29 deletions

View File

@@ -136,22 +136,6 @@ function install_talib() {
cd ..
}
function install_mac_newer_python_dependencies() {
if [ ! $(brew --prefix --installed hdf5 2>/dev/null) ]
then
echo_block "Installing hdf5"
brew install hdf5
fi
export HDF5_DIR=$(brew --prefix)
if [ ! $(brew --prefix --installed c-blosc 2>/dev/null) ]
then
echo_block "Installing c-blosc"
brew install c-blosc
fi
export CBLOSC_DIR=$(brew --prefix)
}
# Install bot MacOS
function install_macos() {
@@ -165,10 +149,6 @@ function install_macos() {
#Gets number after decimal in python version
version=$(egrep -o 3.\[0-9\]+ <<< $PYTHON | sed 's/3.//g')
if [[ $version -ge 10 ]]; then #Checks if python version >= 3.10
install_mac_newer_python_dependencies
fi
}
# Install bot Debian_ubuntu