From fc83a62ea04302e641b8fc0e943296568f80ecb5 Mon Sep 17 00:00:00 2001 From: nanoric Date: Tue, 19 Mar 2019 01:00:47 -0400 Subject: [PATCH] [Add] install.sh: make & install ta-lib to /usr --- install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/install.sh b/install.sh index 4f36d7f3..3ce3f578 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash + +# Get and build ta-lib +pushd /tmp +wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz +tar -xf ta-lib-0.4.0-src.tar.gz +cd ta-lib +./configure --prefix=/usr +make +sudo make install +popd + +# old versions of ta-lib imports numpy in setup.py +pip install numpy + # Install Python Modules pip install -r requirements.txt