Created
April 6, 2014 02:57
-
-
Save colinmollenhour/10000922 to your computer and use it in GitHub Desktop.
Install StarCluster on Windows
This file contains hidden or 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
#!/bin/bash | |
# | |
# Requires Python 2.7 64-bit | |
# Run using Git Bash program from "Git for Windows" | |
[ -d /c/Python27 ] || { | |
echo "Oops, I expected Python 2.7 to be installed at C:\Python27"; | |
exit 1; | |
} | |
cd /c/Python27/ | |
# Install easy_setup (needed for pycrypto) | |
curl -O https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O ez_setup.py | |
python ez_setup.py | |
# Install pycrypto (binary compiled version) | |
Scripts/easy_install http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win-amd64-py2.7.exe | |
# Install pip (only installer that works for StartCluster on Windows) | |
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
python get-pip.py | |
# Install StarCluster | |
Scripts/pip install StarCluster | |
# Add Python Scripts to PATH | |
echo "export PATH=\$PATH:/c/Python27/Scripts" >> ~/.bashrc | |
echo "alias sc=starcluster" >> ~/.bashrc | |
export PATH=$PATH:/c/Python27/Scripts | |
alias sc=starcluster |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment