mara004
mara004
Ah, so if we passed all the gcc/clang default defines to pcpp, it would include e.g. the `uint8_t` definition in the output? > Generally it's much easier to have pcpp...
I made some progress, but still didn't manage to get ctypesgen play with pcpp. Here's what I did: ```bash gcc -dM -E - < /dev/null > ../default_defs.h ctypesgen -i fpdf*.h...
Ah, wait, actually the above already partially works. 🎉 ctypesgen does produce a list of members, they just aren't included, so we need to add `--all-headers`. Probably that is because...
However, the resulting bindings are still incomplete. When plugging into pypdfium2, the test suite shows the following error: ``` src/pypdfium2/internal/consts.py:66: in pdfium_c.FPDF_COLORSPACE_UNKNOWN: "?", E AttributeError: module 'pypdfium2.raw' has no attribute...
Workaround: Just remove the files to exclude. (In my case, this shrinked the artifact from 12 to 5 MB.)
The thing is, then no homepage is shown by pip: ```toml [project.urls] homepage = "https://github.com/pypdfium2-team/pypdfium2" # FIXME not shown by pip documentation = "https://pypdfium2.readthedocs.io/" changelog = "https://pypdfium2.readthedocs.io/en/stable/changelog.html" ``` ``` $...
Of course you can work around the issue with the old setup files. But that doesn't fix the problem. I think pip should look for a homepage entry in `[project.urls]`....
> It would be better to show all URLs instead of only one Home-page URL. This is the behavior we get with `pip show -v`, but it's probably overkill for...
> If not, I'd give pillow a label or warning message: "Bad quality, for testing purposes only." Can you please state which version of Pillow you are using? ```bash python3...
> is it possible to re-recode pdf's that were done using pillow with kakadu? Not that it would increase quality, but the images are a lot bigger while at the...