Including shared libraries in wheels

Phil Thompson phil at riverbankcomputing.com
Tue Mar 7 10:53:07 GMT 2023


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

Phil


More information about the PyQt mailing list