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
1 changed files with 1 additions and 2 deletions

View File

@ -35,14 +35,13 @@ function updateenv () {
# Install tab lib
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
cd ta-lib
sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h
./configure --prefix=/usr/local
make
sudo make install
cd .. && rm -rf ./ta-lib*
cd .. && rm -rf ./ta-lib/
}
# Install bot MacOS