Last active
August 29, 2015 14:02
-
-
Save rafaelrosafu/88994ff1fccd3126f202 to your computer and use it in GitHub Desktop.
Python environment provisioner on a Ubuntu machine. I recommend combining it with Vagrant
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/sh | |
# This script can be run by: | |
# curl <raw text URL> | sh | |
# Installing basic packages | |
sudo apt-get install -y python-pip python-dev build-essential ipython-notebook | |
sudo pip install --upgrade pip | |
sudo pip install --upgrade virtualenv | |
# Setup virtualenvs | |
mkdir ~/.python_envs | |
cd ~/.python_envs | |
virtualenv --distribute dev | |
# on the python source dir run | |
# source ~/.python_envs/dev/bin/activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment