Created
January 31, 2013 21:58
-
-
Save bjfish/4686907 to your computer and use it in GitHub Desktop.
A very rough list of shell commands to setup a vagrant box with zipline dependencies using enthought
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git://github.com/quantopian/zipline.git | |
cd zipline | |
vagrant add lucid64 http://files.vagrantup.com/lucid64.box | |
vagrant init lucid64 | |
# Add memory configuration to Vagrantfile | |
config.vm.customize ["modifyvm", :id, "--memory", 1024] | |
vagrant up | |
vagrant ssh | |
cd /vagrant | |
wget http://epd-free.enthought.com/epd_free-7.3-2-rh5-x86_64.sh | |
chmod a+x epd_free-7.3-2-rh5-x86_64.sh | |
./epd_free-7.3-2-rh5-x86_64.sh | |
# installed this into /usr/bin/epd_free-7.3-2-rh5-x86_64 | |
# add following to ~/.bashrc | |
export PATH=/usr/bin/epd_free-7.3-2-rh5-x86_64/bin:$PATH | |
# exit | |
vagrant ssh | |
sudo easy_install pip | |
sudo pip install zipline | |
nosetests | |
exit | |
vagrant package | |
vagrant suspend | |
vagrant box add scipack ~/Documents/zipline/package.box | |
# I tried some of the following to get the examples working | |
sudo apt-get update | |
sudo apt-get install python-matplotlib #this probaby doesnt make sense no gui | |
sudo pip install paver | |
sudo pip install patsy==0.1.0 | |
sudo pip install ipython==0.13.1 | |
sudo pip install tornado==2.4.1 | |
sudo pip install pyzmq==2.2.0.1 | |
sudo pip install nose==1.2.1 | |
sudo pip install nose-parameterized==0.2 | |
sudo pip install flake8==1.7.0 | |
sudo pip install scipy==0.11.0 | |
sudo pip install scikits.learn==0.8.1 | |
sudo pip install scikits.statsmodels==0.3.1 | |
sudo pip install statsmodels | |
sudo pip install pyandoc==0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment