forked from QuantSoftware/QuantSoftwareToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMacInstallation.sh
More file actions
46 lines (35 loc) · 979 Bytes
/
MacInstallation.sh
File metadata and controls
46 lines (35 loc) · 979 Bytes
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
#
# (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: sourabhbajaj90@gmail.com
# @summary: Mac Installation script of QSTK
#
# Homebrew has already been installed.
echo "Installing python"
brew install python
brew install pip
brew tap samueljohn/python
brew tap homebrew/science
echo "virtualenv"
pip install virtualenv
pip install nose
echo "Installing gfortran"
brew install gfortran
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