Last active
December 11, 2015 17:48
-
-
Save gotgenes/4636766 to your computer and use it in GitHub Desktop.
Quick installation of Python dependencies and settings.
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
#!/bin/bash | |
set -e | |
set -u | |
curl http://python-distribute.org/distribute_setup.py | python | |
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python | |
pip install nose | |
easy_install readline | |
pip install ipython | |
echo 'export PATH="${HOME}/.local/bin:${PATH}"' >> ~/.bashrc | |
cat >> ~/.bash_profile <<EOF | |
# include .bashrc if it exists | |
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment