[Texas] This Weekend: US PyCon 2011 Tutorial Dress Rehearsal in DFW

Paul Kippes kippesp at gmail.com
Sat Feb 12 10:26:38 CET 2011


I'm just starting as a OS X developer.  But for those of you with OS X
and want to experiment with PyQt, below are the instructions I've come
up with to get your system configured.  Since PyQt must be compiled
from generated C++ code, it can take a good while to install.

Install the XCode package which will install the gcc compiler.

Download the Python for OsX from http://python.org.  Install Python
using the default settings.

Download (at least) the Qt Framework libraries for Mac.

Start a new Terminal and verify it is using the preferred Python::

    which python
    python --version

Download SIP from Riverbank Software
(http://www.riverbankcomputing.co.uk/software/sip/download).
Untar the `sip` package and install it::

    python configure.py
    make
    sudo make install

Download PyQT from Riverbank Software
(http://www.riverbankcomputing.co.uk/software/pyqt/download).
Untar the 'PyQt' package and install it::

    python configure.py
    make
    sudo make install


More information about the Texas mailing list