From b09a1d1abed8ce828e40166f00e8c7bf3d28f6a8 Mon Sep 17 00:00:00 2001 From: misagh Date: Tue, 23 Oct 2018 19:36:57 +0200 Subject: [PATCH] 1) do not download ta-lib as we have it offline. 2) removing ta-lib directory but not the file --- setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 472260148..1bb2ba397 100755 --- a/setup.sh +++ b/setup.sh @@ -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