cgohlke / imagecodecs

Image transformation, compression, and decompression codecs
https://pypi.org/project/imagecodecs
BSD 3-Clause "New" or "Revised" License
118 stars 23 forks source link

Improve zopfli header search #10

Closed kmilos closed 3 years ago

kmilos commented 3 years ago

Some platforms put it at include/zopfli.h, while some at include/zopfli/zopfli.h

Rather than hard-coding zopfli/zopfli.h in zopfli.pxd, might be better to remove the prefix and handle it instead in setup.py customizebuild* just like others (e.g. jxrlib).

cgohlke commented 3 years ago

I'll change this for the next release. It's annoying. The three biggest target platforms put the zopfli headers in a subdirectory.