[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
user:dusek:python [2013/06/11 13:04]
dusek
user:dusek:python [2014/08/07 16:34]
ufal
Line 5: Line 5:
   mkdir -p ~/.local-{i686,x86_64}/{lib/python2.7/site-packages,bin}   mkdir -p ~/.local-{i686,x86_64}/{lib/python2.7/site-packages,bin}
  
-  *  V .bashrc si je nastavit jako adresare pro lokalne instalovane moduly a pridat si cestu k mym binarkam (tez 32/64bit):+  *  V .bashrc si je nastavit jako adresare pro lokalne instalovane moduly a v zavislosti na verzi Ubuntu pripadne pridat cestu k mym binarkam (tez 32/64bit):
  
   ARCH=`arch`   ARCH=`arch`
   export PYTHONUSERBASE=~/.local-$ARCH   export PYTHONUSERBASE=~/.local-$ARCH
-  export PATH=/home/odusek/work/tools/python-2.7.3/$ARCH/bin:$PYTHONUSERBASE/bin:$PATH+  export UBUNTU_VERSION=`lsb_release -a 2>/dev/null | grep Release | cut -f 2` 
 +  if [ $UBUNTU_VERSION = '10.04' ]; then 
 +      export PATH=/home/odusek/work/tools/python-2.7.3/$ARCH/bin:$PYTHONUSERBASE/bin:$PATH 
 +  else 
 +      export PATH=$PYTHONUSERBASE/bin:$PATH 
 +  fi 
      
  

[ Back to the navigation ] [ Back to the content ]