1) do not download ta-lib as we have it offline. 2) removing ta-lib

directory but not the file
This commit is contained in:
misagh 2018-10-23 19:36:57 +02:00
parent 346e155dd9
commit b09a1d1abe

View File

@ -35,14 +35,13 @@ function updateenv () {
# Install tab lib # Install tab lib
function install_talib () { function install_talib () {
curl -O -L http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar zxvf ta-lib-0.4.0-src.tar.gz tar zxvf ta-lib-0.4.0-src.tar.gz
cd ta-lib cd ta-lib
sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h
./configure --prefix=/usr/local ./configure --prefix=/usr/local
make make
sudo make install sudo make install
cd .. && rm -rf ./ta-lib* cd .. && rm -rf ./ta-lib/
} }
# Install bot MacOS # Install bot MacOS