Re: Build PyQt5 from source with PyQt5-sip binary?

Phil Thompson <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
On 20/09/2019 19:49, Zach Pincus wrote:
> Hello,
> 
> I'm sorry if this is an obvious question, but I'm struggling a bit to
> build PyQt5 from sources on my Mac. (So that I may test the fixed
> onexit scheme from a nightly snapshot.)
> 
> In particular, I had assumed that the pip-installed PyQt5-sip package
> would be sufficient to install to build PyQt5. However, this package
> does not seem to provide a `sip` executable that can be used for this
> purpose. The description of the PyQt5-sip package on PyPI seems to
> suggest that the code generation tool is part of the install, but
> perhaps it isn't?
> https://pypi.org/project/PyQt5-sip/

That is the PyQt5.sip module - nothing else.

> Anyhow, is there a way to get PyQt5-sip to produce an executable (or
> another straightforward way to get a sip binary / executable), or do I
> pretty much need to install sip from source (or from a package
> manager) in order to build PyQt5?

You need to build sip from the source package...

https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html#building-and-installing-from-source

Phil
_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.