News for hackers. Stuff that matters.
Re:Bundling binary tools in Python wheels by michelpp on Friday June 17, 2022 @09:43AM (#31778004)
This is also the basis for the postgresql-wheel package, a Python wheel that contains an entire local PostgreSQL binary installation:

https://github.com/michelp/postgresql-wheel

Out of sheer laziness I used CFFI to encapsulate the build, even though there is no dynamic linking involved. There's probably a simpler way but this approach has worked very well for disposable database tests.

Re:Bundling binary tools in Python wheels by randlet on Friday June 17, 2022 @09:52AM (#31778171)
Very cool! Might be useful in CI scenarios.