[PyQt] Specifying Include Directories for PyQt Build

Scott Kitterman debian at kitterman.com
Sun Oct 21 01:44:25 BST 2012


Starting with python3.3, python will support multiarch [1] in Debian and 
Ubuntu.  As part of this change, the path for some of the Python header files 
has changed, so I need to specify multiple include directories.  Here's an 
example using pkg-config so show the difference between python3.2 and python3.3 
on an i386 system:

$ pkg-config --cflags-only-I python-3.2mu
-I/usr/include/python3.2mu  

$ pkg-config --cflags-only-I python-3.3m 
-I/usr/include/python3.3m -I/usr/include/i386-linux-gnu/python3.3m  

So how do I specify both directories for building with this multi-arch'ed 
python3.3?  Any advice appreciated.

Scott K

[1] http://wiki.debian.org/Multiarch


More information about the PyQt mailing list