sip-build lacks --disable-feature option

Phil Thompson phil at riverbankcomputing.com
Tue Jun 29 12:59:23 BST 2021


On 27/06/2021 20:34, Davide Pesavento wrote:
> So I'm trying to switch PyQt5 to use sip-build for building but it
> doesn't seem to support the --disable-feature command-line option that
> existed in the legacy configure.py.
> 
> sip-build: error: unrecognized arguments: --disable-feature=PyQt_SSL
> 
> Is there another way to achieve the same effect with sip-build? If
> not, can it be added?

The pyproject.toml file is considered to be user-editable, so you need 
to edit it...

https://www.riverbankcomputing.com/static/Docs/sip/pyproject_toml.html#bindings-sections

Phil


More information about the PyQt mailing list