Changes between Version 20 and Version 21 of VirtualEnv


Ignore:
Timestamp:
Aug 25, 2010, 1:51:03 PM (16 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VirtualEnv

    v20 v21  
    238238tar zxvf PyQt-x11-gpl-4.7.4.tar.gz
    239239cd PyQt-x11-gpl-4.7.4
    240 
    241240# configure without installing designer plugin or QScintilla API, as these
    242241# should be installed already by a prior installation of Qt4 or PyQt into the
    243242# system paths
    244 
    245243python configure.py --qmake=/usr/bin/qmake-qt4 --no-qsci-api --no-designer-plugin
    246244make
     
    252250source ~/src/chimera-virtualenv/bin/activate
    253251cd ~/Downloads
    254 
    255252curl -O http://212.219.56.133/sites/www.ibiblio.org/gentoo/distfiles/QScintilla-gpl-2.4.3.tar.gz
    256253tar zxvf QScintilla-gpl-2.4.3.tar.gz
     
    259256make
    260257make install
    261 deactivate
    262 }}}
    263 
    264 
    265 
    266 ADD PYTHON MODULES FOR SPYDER: pylint, numpy, scipy, matplotlib?
    267 
    268 
    269 That should satisfy the [http://packages.python.org/spyder/installation.html#dependencies spyder dependencies].  Now try to install spyder using pip.
    270 
    271 {{{
    272 (chimera-virtualenv)$ pip install spyder
     258# Ignore the failure for: cp -f QScintilla2.api /usr/share/qt4/qsci/api/python/QScintilla2.api
     259# The QScintilla2.api file was installed by an Ubuntu package (don't overwrite it).
     260# This was the last step in the install, everything else installed OK.
     261deactivate
     262}}}
     263
     264Let's check the additional module [http://packages.python.org/spyder/installation.html#dependencies dependencies for spyder].  The Chimera python installation includes modules for {{{numpy}}} and {{{matplotlib}}}.  The install for {{{pylint}}} is easy, but {{{scipy}}} installation is not.
     265
     266{{{
     267source ~/src/chimera-virtualenv/bin/activate
     268pip install pylint
     269deactivate
     270}}}
     271
     272That should satisfy most of the [http://packages.python.org/spyder/installation.html#dependencies spyder dependencies].  Now try to install spyder using pip.
     273
     274{{{
     275source ~/src/chimera-virtualenv/bin/activate
     276pip install spyder
     277deactivate
    273278}}}
    274279
     
    277282{{{
    278283source ~/src/chimera-virtualenv/bin/activate
    279 export CHIMERA=/opt/UCSF/Chimera64-2010-08-05
     284export CHIMERA=$HOME/src/Chimera64-daily
    280285export TCL_LIBRARY="$CHIMERA/lib/tcl8.6"
    281286export TCLLIBPATH="{$CHIMERA/lib}"
    282287unset TK_LIBRARY
    283288unset TIX_LIBRARY
    284 export LD_PRELOAD=libotf.so
     289#export LD_PRELOAD=libotf.so
    285290export PATH=$PATH:$CHIMERA/bin
    286291unset PYTHONHOME