Including shared libraries in wheels

Jean Abou Samra jean at abou-samra.fr
Tue Mar 7 10:58:30 GMT 2023


Le mardi 07 mars 2023 à 10:53 +0000, Phil Thompson a écrit :

> On 07/03/2023 10:20, Jean Abou Samra wrote:
> 
> > Hi,
> > 
> > I'm trying to build wheels for python-poppler-qt5, which uses SIP and
> > PyQt-builder. It's close to working, except that my wheels don't
> > contain the `libpoppler.so` and `libpoppler-qt5.so` files, which they
> > should in order to work on others' machines. (I'd like avoid
> > statically linking these into the binding's generated shared library
> > because it would force me to compile Poppler myself into a static
> > library on various OSes, while I can get it as a shared library from
> > Conda.)
> > 
> > What would be the easiest way to make these libs end up in the wheels?
> 
> 
> See 'wheel-includes' in...
> 
> [https://www.riverbankcomputing.com/static/Docs/sip/pyproject_toml.html#tool-sip-project-section](https://www.riverbankcomputing.com/static/Docs/sip/pyproject_toml.html#tool-sip-project-section)


Thanks for replying. I saw this parameter, but the paths are
relative to the project directory, while in my case, the libraries
are somewhere in the Conda environment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230307/7d517895/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230307/7d517895/attachment.sig>


More information about the PyQt mailing list