pygobject / pycairo

Python bindings for cairo
https://pycairo.readthedocs.io
Other
613 stars 83 forks source link

PEP 517 build misses py3cairo.h and py3cairo.pc #312

Closed mtelka closed 1 year ago

mtelka commented 1 year ago

When I try PEP 517 build using build-0.10.0 there are missing two files when compared to legacy setup.py build: /usr/include/pycairo/py3cairo.h and /usr/lib/pkgconfig/py3cairo.pc.

lazka commented 1 year ago

Those files aren't supported with PEP517 builds and wheels as we don't know at wheel build time where things are going to be installed to and which prefix to include in the .pc files.

You need to use meson if you want system integration.