Changes between Version 36 and Version 37 of VirtualEnv


Ignore:
Timestamp:
Sep 2, 2010, 9:10:59 PM (16 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VirtualEnv

    v36 v37  
    2222  inflating: chimera_install_35bPbx/chimera.exe 
    2323
    24 Enter install location: $HOME/src/Chimera64-2010-08-24
     24Enter install location: $HOME/src/Chimera64-daily
    2525Extracting files.  This may take a few minutes.
    26 Executing command: './chimera.exe -q -d /home/dweber/src/Chimera64-2010-08-24'
     26Executing command: './chimera.exe -q -d /home/dweber/src/Chimera64-daily'
    2727UnZipSFX 5.52 of 28 February 2005, by Info-ZIP (http://www.info-zip.org).
    2828
     
    3131To install desktop menu and icon, run:
    3232
    33     $HOME/src/Chimera64-2010-08-24/bin/xdg-setup install
     33    $HOME/src/Chimera64-daily/bin/xdg-setup install
    3434
    3535If run as root, then it installs for all users,
     
    4848}}}
    4949
    50 This installation did not use sudo privileges, so the install path was changed from {{{/opt/UCSF/Chimera64-2010-08-05}}} to {{{$HOME/src/Chimera64-2010-08-24}}}.  To install the desktop menu and icons:
    51 {{{
    52 $HOME/src/Chimera64-2010-08-24/bin/xdg-setup install
    53 }}}
    54 
    55 In addition, I setup sym-links like:
    56 {{{
    57 cd ~/src
    58 ln -s Chimera64-2010-08-24 Chimera64-daily
    59 sudo ln -s $HOME/src/Chimera64-daily/bin/chimera /usr/local/bin/chimera-daily
    60 }}}
    61 
    62 If I run a build from svn-source, I create sym-links like:
    63 {{{
    64 cd ~/src
    65 ln -s Chimera64-build31263 Chimera64-build
    66 sudo ln -s $HOME/src/Chimera64-build/bin/chimera /usr/local/bin/chimera-build
    67 }}}
    68 
    69 Lastly, a few environment variables are set to simplify executing the new installation programs.  If your installation path is different, you will need to set the CHIMERA environment variable to your path.  The CHIMERA path must point to a hard-link, not a sym-link, in the directory tree.
     50This installation did not use sudo privileges, so the install path was changed from {{{/opt/UCSF/Chimera64-2010-08-05}}} to {{{$HOME/src/Chimera64-daily}}}.  To install the desktop menu and icons:
     51{{{
     52$HOME/src/Chimera64-daily/bin/xdg-setup install
     53}}}
     54
     55Lastly, a few environment variables are set to simplify executing the new installation programs.  If your installation path is different, you will need to set the CHIMERA environment variable to your path.  The CHIMERA path must point to a hard-link, not a sym-link, in the directory tree.  '''Warning:''' do not set these environment variables for daily work with Chimera, they are to be set for a shell session that is only required during installation of additional python packages into the Chimera distribution of python.
    7056{{{
    7157# For a daily build, use:
    72 export CHIMERA=$(cd $HOME/src/Chimera64-daily && pwd -P)
     58export CHIMERA=$($HOME/src/Chimera64-daily/bin/chimera --root)
    7359# For an svn-build, use:
    74 #export CHIMERA=$(cd $HOME/src/Chimera64-build && pwd -P)
    75 export PATH=$PATH:$CHIMERA/bin/
    76 export LD_LIBRARY_PATH=$CHIMERA/lib
     60#export CHIMERA=$($HOME/src/Chimera64-svn/bin/chimera --root)
     61export PATH=${CHIMERA}/bin/${PATH}
     62export LD_LIBRARY_PATH=${CHIMERA}/lib
    7763}}}
    7864
     
    8571cd ~/Downloads
    8672curl -O http://python-distribute.org/distribute_setup.py
    87 $CHIMERA/bin/python2.7 distribute_setup.py
     73${CHIMERA}/bin/python2.7 distribute_setup.py
    8874}}}
    8975
     
    9783Now it's easy to use these tools for installation of any additional python packages into the Chimera python distribution.  For example,
    9884{{{
    99 export CHIMERA=$(cd $HOME/src/Chimera64-build && pwd -P)
    100 export PATH=$PATH:$CHIMERA/bin/
    101 export LD_LIBRARY_PATH=$CHIMERA/lib
    102 $CHIMERA/bin/easy_install pylint
    103 $CHIMERA/bin/easy_install pyflakes
     85export CHIMERA=$($HOME/src/Chimera64-daily/bin/chimera --root)
     86export PATH=${CHIMERA}/bin/:${PATH}
     87export LD_LIBRARY_PATH=${CHIMERA}/lib
     88${CHIMERA}/bin/easy_install pylint
     89${CHIMERA}/bin/easy_install pyflakes
    10490}}}
    10591
     
    119105mkdir -p ~/src
    120106cd ~/src
    121 $CHIMERA/bin/virtualenv --distribute $HOME/src/chimera-virtualenv
    122 ls -al $HOME/src/chimera-virtualenv/
     107${CHIMERA}/bin/virtualenv --distribute ${HOME}/src/chimera-virtualenv
     108ls -al ${HOME}/src/chimera-virtualenv/
    123109}}}
    124110