mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-17 05:11:15 +00:00
feat: remove hdf5 dependencies and install logic
This commit is contained in:
@@ -98,10 +98,6 @@ freqai_rl = [
|
||||
"sb3-contrib",
|
||||
"tqdm",
|
||||
]
|
||||
hdf5 = [
|
||||
"tables",
|
||||
"blosc",
|
||||
]
|
||||
develop = [
|
||||
"coveralls",
|
||||
"isort",
|
||||
@@ -129,7 +125,7 @@ jupyter = [
|
||||
"nbconvert",
|
||||
]
|
||||
all = [
|
||||
"freqtrade[plot,hyperopt,freqai,freqai_rl,hdf5,jupyter]",
|
||||
"freqtrade[plot,hyperopt,freqai,freqai_rl,jupyter]",
|
||||
]
|
||||
dev = [
|
||||
"freqtrade[all,develop]",
|
||||
|
||||
@@ -22,10 +22,6 @@ technical==1.5.0
|
||||
tabulate==0.9.0
|
||||
pycoingecko==3.2.0
|
||||
jinja2==3.1.5
|
||||
tables==3.10.1
|
||||
# Pin blosc2 to < 3.0 until piwheel has wheels for 3.x
|
||||
blosc2==2.7.1; platform_machine == 'armv7l' or python_version < '3.11'
|
||||
blosc2==3.0.0; platform_machine != 'armv7l' and python_version >= '3.11'
|
||||
joblib==1.4.2
|
||||
rich==13.9.4
|
||||
pyarrow==18.1.0; platform_machine != 'armv7l'
|
||||
|
||||
20
setup.sh
20
setup.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user