I wrote this little test script to prove my virtualenv is reading from global 
site packages:

Script Content
from distutils.sysconfig import get_python_lib
print (get_python_lib())

Script Output
(botnet_etl)[swright@localhost app]$ python test.py 
/usr/lib/python2.6/site-packages
(botnet_etl)[swright@localhost app]$ 


Please note that (botnet_etl) is the name of the virtualenv

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to