anibali / pywebp

Python bindings for WebP
MIT License
74 stars 24 forks source link

Support 32-bit Python on 64-bit hosts #31

Closed anibali closed 3 years ago

anibali commented 3 years ago

Currently the host architecture is used by Conan to determine which libwebp binary to download. This means that if the user is running 32-bit Python, building the CFFI extension will fail during linking (see https://github.com/anibali/pywebp/issues/30).

Here we attempt to detect this scenario and pass a custom setting to Conan. Note that Conan Center currently does not have any 32-bit binaries of libwebp available, so it will be built from source.

TODO