Skip to content

Instantly share code, notes, and snippets.

@yuchan
Created June 3, 2012 10:35
Show Gist options
  • Save yuchan/2862975 to your computer and use it in GitHub Desktop.
Save yuchan/2862975 to your computer and use it in GitHub Desktop.
virtualenv+pip=portable
in a project directory,,,
>> virtualenv venv
>> . venv/bin/activate
>> pip install ...
>> ...
>> ...
>> pip freeze > requirements.txt
in any other project directory,,,
>> virtualenv venv
>> pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment