[PyQt] Using distutils / setuptools for SIP extensions?

Phil Thompson phil at riverbankcomputing.com
Sat May 9 11:17:32 BST 2015

On 08/05/2015 11:11 pm, Elvis Stansvik wrote:
> Hi all,
> I'm considering using SIP for an upcoming project.
> The docs at [1] says that
> "Note This should not be used for new projects as it will not be 
> supported
> by SIP v5."
> If I want to use regular setuptools to build my extension (instead of 
> the
> configure.py which I've seen used in SIP project), then what am I to do
> once SIP v5 is the new kid on the block?

I'm not sure exactly how this will be handled in SIP v5 but you can 
expect that there will be some help. The main change that should help is 
that the sip code generator will be accessible as a Python package so 
you will be able to import it into your setup.py.


More information about the PyQt mailing list