Changes between Version 4 and Version 5 of VirtualEnv


Ignore:
Timestamp:
Aug 24, 2010, 2:55:56 PM (16 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VirtualEnv

    v4 v5  
    22== Installing a Python Virtual Environment for Chimera ==
    33
    4 First, get the setuptools package installed.  Note the following has some version specific details that need attention for any current installation.  At the time of writing, this installation used a specific svn-build of Chimera (2010-08-05) and a specific version of setuptools for the version of python that was built for Chimera (python2.7).  It also assumes that Chimera was installed with sudo privileges, but that is not necessary (this should work for a user installation too, without the sudo privileges).
     4Get a [http://www.cgl.ucsf.edu/chimera/download.html#daily, daily build of Chimera].  In the examples below, it was a linux-64 build from 2010-08-05.  To run the installation (accept all the defaults in the prompts):
     5
     6{{{
     7$ cd ~/Downloads/
     8$ chmod +x chimera-alpha-linux_x86_64.exe
     9$ sudo chimera-alpha-linux_x86_64.exe
     10}}}
     11
     12This will install Chimera into {{{/opt/UCSF/Chimera64-2010-08-05}}} and I like to have it install symlinks into
     13{{{
     14$ ls -al /usr/local/bin/chimera*
     15lrwxrwxrwx 2 root root 42 2010-08-24 14:45 /usr/local/bin/chimera -> /opt/UCSF/Chimera64-2010-08-05/bin/chimera
     16lrwxrwxrwx 1 root root 42 2010-08-05 14:53 /usr/local/bin/chimera-2010-08-05 -> /opt/UCSF/Chimera64-2010-08-05/bin/chimera
     17}}}
     18
     19In the following notes, a few environment variables are set to simplify executing the new installation programs, i.e.:
     20{{{
     21$ export CHIMERA=/opt/UCSF/Chimera64-2010-08-05
     22$ export PATH=$PATH:$CHIMERA/bin/
     23$ export LD_LIBRARY_PATH=$CHIMERA/lib
     24}}}
     25
     26Now get the setuptools package installed.  Note the following has some version specific details that need attention for any current installation.  At the time of writing, this installation used a specific svn-build of Chimera (2010-08-05) and a specific version of setuptools for the version of python that was built for Chimera (python2.7).  It also assumes that Chimera was installed with sudo privileges, but that is not necessary (this should work for a user installation too, without the sudo privileges).
    527
    628{{{