My plan is to put packages that are of general use and that rarely change in ~/lib/python2.X. These will not be available in my virtualenv. For standard packages that I want in the virtualenv, I will manually add paths to them using the virtualenvwrapper command add2virtualenv.
Update - March 1, 2013
The link above no longer works. Here is a new link, with a new and improved discussion.
By the way, if you are not sure what packages are being imported, try this:
Update - March 1, 2013
The link above no longer works. Here is a new link, with a new and improved discussion.
By the way, if you are not sure what packages are being imported, try this:
- Activate your virtualenv
- Start python from the command line
- Type import sys
- Type sys.path
No comments:
Post a Comment