Changes between Version 23 and Version 24 of VirtualEnv


Ignore:
Timestamp:
Aug 26, 2010, 1:12:06 PM (16 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VirtualEnv

    v23 v24  
    230230
    231231
    232 This example is based on an Ubuntu linux system that had packages installed for Qt4, PyQt4, and QScintilla2, which are [http://packages.python.org/spyder/installation.html#dependencies spyder dependencies].  Your system may need these installed, along with their development libraries and headers.  Although those packages were installed on the system, they were not directly accessible to the Chimera python build.  In my case, a solution was to download and build !PyQt4 within the Chimera virtual environment.
    233 
    234 {{{
    235 source ~/src/chimera-virtualenv/bin/activate
    236 cd ~/Downloads
    237 curl -O http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.10.5.tar.gz
    238 tar zxvf sip-4.10.5.tar.gz
    239 cd sip-4.10.5
     232This example is based on an Ubuntu linux system that had packages installed for Qt4, PyQt4, and QScintilla2, which are [http://packages.python.org/spyder/installation.html#dependencies spyder dependencies].  Your system may need these installed, along with their development libraries and headers.  Although those packages were installed on the system, they were not directly accessible to the Chimera python build.  In my case, a solution was to download and build !PyQt4 within the Chimera virtual environment.  The order of the following installs is important (they are successive dependency resolutions).
     233
     234{{{
     235source ~/src/chimera-virtualenv/bin/activate
     236## Use debian source packages instead of direct download
     237#curl -O http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.10.5.tar.gz
     238#tar zxvf sip-4.10.5.tar.gz
     239#cd sip-4.10.5
     240mkdir -p ~/Downloads/deb-src
     241cd ~/Downloads/deb-src
     242apt-get source --download-only python-sip
     243dpkg-source -x sip4-qt3_4.10.1-0ubuntu1.dsc
     244cd sip4-qt3-4.10.1/
     245python configure.py --help
    240246python configure.py --debug
    241247make
    242 make install
    243 deactivate
    244 }}}
    245 
    246 {{{
    247 source ~/src/chimera-virtualenv/bin/activate
    248 cd ~/Downloads
    249 curl -O http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.7.4.tar.gz
    250 tar zxvf PyQt-x11-gpl-4.7.4.tar.gz
    251 cd PyQt-x11-gpl-4.7.4
     248make install
     249deactivate
     250}}}
     251
     252{{{
     253source ~/src/chimera-virtualenv/bin/activate
     254## Use debian source packages instead of direct download
     255#cd ~/Downloads
     256#curl -O http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.7.4.tar.gz
     257#tar zxvf PyQt-x11-gpl-4.7.4.tar.gz
     258#cd PyQt-x11-gpl-4.7.4
     259mkdir -p ~/Downloads/deb-src
     260cd ~/Downloads/deb-src
     261apt-get source --download-only python-qt4-dev
     262dpkg-source -x python-qt4_4.7.2-0ubuntu1.dsc
     263cd python-qt4-4.7.2/
    252264# configure without installing designer plugin or QScintilla API, as these
    253265# should be installed already by a prior installation of Qt4 or PyQt into the
     
    261273{{{
    262274source ~/src/chimera-virtualenv/bin/activate
    263 cd ~/Downloads
    264 curl -O http://212.219.56.133/sites/www.ibiblio.org/gentoo/distfiles/QScintilla-gpl-2.4.3.tar.gz
    265 tar zxvf QScintilla-gpl-2.4.3.tar.gz
    266 cd QScintilla-gpl-2.4.3/Python
     275## Use debian source packages instead of direct download
     276#cd ~/Downloads
     277#curl -O http://212.219.56.133/sites/www.ibiblio.org/gentoo/distfiles/QScintilla-gpl-2.4.3.tar.gz
     278#tar zxvf QScintilla-gpl-2.4.3.tar.gz
     279#cd QScintilla-gpl-2.4.3/Python
     280mkdir -p ~/Downloads/deb-src
     281cd ~/Downloads/deb-src
     282apt-get source --download-only libqscintilla2-dev
     283dpkg-source -x qscintilla2_2.4.3-0ubuntu1.dsc
     284cd qscintilla2-2.4.3/Python
    267285python configure.py --debug
    268286make
     
    279297source ~/src/chimera-virtualenv/bin/activate
    280298pip install pylint
     299pip install pyflakes
     300pip install rope
    281301deactivate
    282302}}}
     
    294314{{{
    295315source ~/src/chimera-virtualenv/bin/activate
    296 export CHIMERA=$(cd $HOME/src/Chimera64-daily && pwd -P)
     316#export CHIMERA=$(cd $HOME/src/Chimera64-daily && pwd -P)
     317export CHIMERA=$(cd $HOME/src/Chimera64-build && pwd -P)
    297318export LD_LIBRARY_PATH=$CHIMERA/lib
    298319#export LD_PRELOAD=libotf.so