[PyQt] Using distutils / setuptools for SIP extensions?

Elvis Stansvik elvstone at gmail.com
Fri May 8 23:30:48 BST 2015


2015-05-09 0:28 GMT+02:00 Elvis Stansvik <elvstone at gmail.com>:

> Hi Erik,
>
> 2015-05-09 0:23 GMT+02:00 Erik Hvatum <ice.rikh at gmail.com>:
>
>> I just use cmake.  See for reference:
>> https://github.com/erikhvatum/RisWidget/tree/6d27dd341b0590e37ab3f16f405941f1ae9d1968
>> (MIT licensed, feel free to copy and paste).
>>
>
> Right, I use CMake for a lot of other stuff. But for this I'd want to use
> setuptools since it's kind of the de facto standard in Python land. My goal
> would be to distribute the extension on PyPI.
>

E.g. I want to be able to do:

$ pyvenv myenv
$ source myenv/bin/activate
(myenv) $ pip install myext

Elvis


>
> Elvis
>
>
>>
>> Cheers,
>> Erik
>>
>> On Fri, May 8, 2015 at 5:11 PM, Elvis Stansvik <elvstone at gmail.com>
>> 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?
>>>
>>> Cheers,
>>> Elvis
>>>
>>> [1] http://pyqt.sourceforge.net/Docs/sip4/distutils.html
>>>
>>> _______________________________________________
>>> PyQt mailing list    PyQt at riverbankcomputing.com
>>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>>
>>
>>
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150509/91c5268a/attachment.html>


More information about the PyQt mailing list