[PyQt] PyQt 5.13.2 build error: module 'sipbuild.api' has no attribute ‘prepare_metadata_for_build_wheel'

Phil Thompson phil at riverbankcomputing.com
Tue Nov 12 10:30:00 GMT 2019


On 12/11/2019 09:24, FX wrote:
>> These are installed in the directory containing the Python interpreter 
>> that is executing sip-install. If you want an isolated build of PyQt 
>> you would normally create a venv for that purpose, install sip5 into 
>> that venv and run sip-install in that venv. Is that a problem?
> 
> We could do that, but that is duplicating sip in two packages that
> need it (pyqt and qscintilla).

So? You either want per-package build isolation or you don't.

>> There are other files potentially copied into the Qt installation 
>> (Designer and Qml plugins and QScintilla .api files).
> 
> For QScintilla, there is an option. For the others (Designer and Qml
> plugins), the sip-install script apparently detected that it does not
> have write permission.

But do you still want to include the plugins in your package?

Phil


More information about the PyQt mailing list