--content goes here--


Setting up on RHEL/CentOS

  • Install PyQt4 PyQt4-webkit xorg-x11-server-Xvfb xorg-x11-xauth with yum
  • Assuming your virtualenv does not use the global site packages, manually add symlinks:
    ln -s /usr/lib64/python2.6/site-packages/ sandbox/lib/python2.6/site-packages/
    ln -s /usr/lib64/python2.6/site-packages/PyQt4 sandbox/lib/python2.6/site-packages/
  • Install in your virtualenv:
    sandbox/bin/pip install
  • Ghost will start Xvfb itself, but note that it doesn't *stop* it. It's probably better to run the tests in xvfb-run

Setting up with MacPorts?

First, note that you can only install one of the py*-pyqt, as py*-shiboken, which it requires, conflicts between python versions.

sudo port install py27-pyqt4
ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ sandbox/lib/python2.7/site-packages/
ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4 sandbox/lib/python2.7/site-packages/
Last modified 5 years ago Last modified on Aug 12, 2012, 1:58:03 PM