06f08511afb7f292331b86394dd39f86bb516426
vsmalladi
  Mon Dec 5 16:07:04 2011 -0800
Added script and readme on how to create virtual environments for ucsc(ENCODE) developers and testers.
diff --git python/virtual.txt python/virtual.txt
new file mode 100644
index 0000000..7d73152
--- /dev/null
+++ python/virtual.txt
@@ -0,0 +1,46 @@
+Guide for Creating Virtual Environments for Python
+
+Reason
+
+To load modules and packages that are only relevant to you or
+to develop and test new modules and packages not ready for general use.
+
+
+How To
+
+1) Generate a virtual environment
+
+Generate a blank virtual environment: 
+
+virtualenv ENV
+
+Generate a snapshot environment with base packages(BeautifulSoup==3.2.0 and MySQL-python==1.2.3) used for ENCODE:
+
+python ~kent/python/ucsc_virtualenv.py ENV
+
+2) Switch to use virtual environement
+
+Bash:
+
+source ENV/bin/activate
+
+C-Shell:
+
+source ENV/bin/activate.csh
+
+3) Load packages and modules
+
+Third-Party:
+
+pip install <package name>
+
+Internal packages:
+
+python setup.py install
+
+4) Deactivate use of virtual environment
+
+deactivate
+
+ 
+