|
| 1 | +# |
| 2 | +# (c) 2011, 2012 Georgia Tech Research Corporation |
| 3 | +# This source code is released under the New BSD license. Please see |
| 4 | +# http://wiki.quantsoftware.org/index.php?title=QSTK_License |
| 5 | +# for license details. |
| 6 | + |
| 7 | +# Created on Jan 16, 2013 |
| 8 | + |
| 9 | +# @author: Sourabh Bajaj |
| 10 | + |
| 11 | +# @summary: Automated Ubuntu Installation script of QSTK |
| 12 | +# |
| 13 | + |
| 14 | +echo "Updating apt-get" |
| 15 | +sudo apt-get update |
| 16 | +# sudo apt-get upgrade |
| 17 | +# echo "Installing dependency - GIT" |
| 18 | +# sudo apt-get install git-core |
| 19 | +echo "Installing dependencies - Numpy Scipy matplotlib" |
| 20 | +sudo apt-get install python-numpy |
| 21 | +sudo apt-get install python-scipy |
| 22 | +sudo apt-get install python-matplotlib |
| 23 | +echo "Installing dependencies - developer tools" |
| 24 | +sudo apt-get install python-dev |
| 25 | +sudo apt-get install python-setuptools |
| 26 | +sudo apt-get install python-pip |
| 27 | +echo "Installing dependencies - scikits" |
| 28 | +sudo pip install scikits.statsmodels |
| 29 | +sudo pip install scikit-learn |
| 30 | +echo "Installing dependencies - pandas" |
| 31 | +sudo pip install pandas |
| 32 | +# echo "Installing dependencies - PYQT4" |
| 33 | +# sudo apt-get install python-qt4 |
| 34 | +echo "Installing dependencies - CVXOPT" |
| 35 | +sudo apt-get build-dep python-cvxopt |
| 36 | +sudo apt-get install python-cvxopt |
| 37 | + |
| 38 | +echo "Installing QSTK" |
| 39 | +sudo pip install QSTK |
| 40 | + |
| 41 | +echo "Install Unzip" |
| 42 | +sudo apt-get install unzip |
| 43 | + |
| 44 | +echo "Examples and Validation" |
| 45 | +mkdir ~/QSTK |
| 46 | +cd ~/QSTK |
| 47 | + |
| 48 | +wget https://spark-public.s3.amazonaws.com/compinvesting1/QSTK-Setups/Examples.zip |
| 49 | +unzip Examples.zip |
| 50 | + |
| 51 | +echo "Validating Installation" |
| 52 | +python Validation.py |
0 commit comments