Skip to content

Instantly share code, notes, and snippets.

@pims
Forked from hugs/virtualenv.txt
Created February 24, 2010 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pims/313618 to your computer and use it in GitHub Desktop.
Save pims/313618 to your computer and use it in GitHub Desktop.
# Install virtualenv
sudo pip install virtualenv
# Create the virtual environment
virtualenv sandbox
# Play around with Python inside the new 'sandbox'
cd sandbox
./bin/python
cd ..
# Build and install my code:
./sandbox/bin/python2.6 setup.py build install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment