It may be different on macOS, but I honestly don't bother trying to build sip to build the latest PyQt5 on Windows. I just install PyQt5-builder from pypi using pip (which will install sip as a dependency), download the PyQt5.15 source, change to its top-level directory and issue the sip-install command.
Then the PyQtWebEngine (5.15.5) source can be downloaded and built in a similar manner if desired.
Before you can use the newly built/installed PyQt5, you'll need to build the PyQt5.sip module. You can download the latest source from pypi (PyQt5-sip) and build/install it using Python's setuptools (python setup.py).
The pip-installed SIP/PyQt5-build build-only tools should be able to be removed (leaving only your compiled PyQt5 and PyQt5.sip) if cleaning up the python installation is important.
I'm sure SIP 6.5 and its PyQt5-builder extension can also be built from source, but I don't think there's any real need/benefit in this particular case. Not when Sigil will neither use, nor distribute, any of their components.
Last edited by DiapDealer; 12-09-2021 at 08:24 PM.
|