encukou / py3c

A Python 2/3 compatibility layer for C extensions
http://py3c.readthedocs.org
MIT License
59 stars 20 forks source link

PyPi package doesn't install pkg-config file #25

Closed jonathanunderwood closed 6 years ago

jonathanunderwood commented 6 years ago

As per title - the PyPi package doesn't include the pkgconfig file.

encukou commented 6 years ago

IMO, pkgconfig is meant for system-wide installs. Wheels don't support that very well. You're better off using a system package (rpm, deb, etc.) if you need pkg-config.

(I'd be happy to be proven wrong here, though.)

jonathanunderwood commented 6 years ago

Yeah. Agreed. But this and #24 together basically make the PyPi package unusable from the perspective of packaging a module that depends on the Py3c headers. The PyPi package arguably makes it a bit easier to grab the headers and copy them into a project, but I can't do things like install_requires=[py3c] in order to ensure that the headers are available at install time. I'll close this.