[Add] install.sh: make & install ta-lib to /usr
This commit is contained in:
parent
11c0b050b4
commit
fc83a62ea0
14
install.sh
14
install.sh
@ -1,4 +1,18 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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
|
# Install Python Modules
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user