| 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 |
| | 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. The order of the following installs is important (they are successive dependency resolutions). |
| | 233 | |
| | 234 | {{{ |
| | 235 | source ~/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 |
| | 240 | mkdir -p ~/Downloads/deb-src |
| | 241 | cd ~/Downloads/deb-src |
| | 242 | apt-get source --download-only python-sip |
| | 243 | dpkg-source -x sip4-qt3_4.10.1-0ubuntu1.dsc |
| | 244 | cd sip4-qt3-4.10.1/ |
| | 245 | python configure.py --help |
| 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 |
| | 248 | make install |
| | 249 | deactivate |
| | 250 | }}} |
| | 251 | |
| | 252 | {{{ |
| | 253 | source ~/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 |
| | 259 | mkdir -p ~/Downloads/deb-src |
| | 260 | cd ~/Downloads/deb-src |
| | 261 | apt-get source --download-only python-qt4-dev |
| | 262 | dpkg-source -x python-qt4_4.7.2-0ubuntu1.dsc |
| | 263 | cd python-qt4-4.7.2/ |
| 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 |
| | 280 | mkdir -p ~/Downloads/deb-src |
| | 281 | cd ~/Downloads/deb-src |
| | 282 | apt-get source --download-only libqscintilla2-dev |
| | 283 | dpkg-source -x qscintilla2_2.4.3-0ubuntu1.dsc |
| | 284 | cd qscintilla2-2.4.3/Python |