-
Notifications
You must be signed in to change notification settings - Fork 215
/
MacInstallation.sh
47 lines (36 loc) · 1 KB
/
MacInstallation.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# (c) 2011, 2012 Georgia Tech Research Corporation
# This source code is released under the New BSD license.
# Please see http://wiki.quantsoftware.org/index.php?title=QSTK_License
# for license details.
# Created on Jan 16, 2013
# @author: Sourabh Bajaj
# @contact: [email protected]
# @summary: Mac Installation script of QSTK
#
# Homebrew has already been installed.
echo "Installing python"
brew install python
brew tap samueljohn/python
brew tap homebrew/science
echo "virtualenv"
pip install virtualenv
pip install nose
pip install pyparsing
pip install python-dateutil
echo "Installing gcc which includes gfortran"
brew install gcc
echo "Installing numpy, scipy, matplotlib"
brew install numpy
brew install scipy
brew install matplotlib
echo "Create QSTK directory"
mkdir ~/QSTK
cd ~/QSTK
# virtualenv env --distribute --system-site-packages
# source ~/QSTK/env/bin/activate
echo "Install pandas, scikits"
pip install pandas
pip install scikits.statsmodels
pip install scikit-learn
pip install QSTK