quaint-telephone-89068
12/06/2022, 12:03 AMbuild_ext, and implement our own cache so that we only rebuild modules that have changed. I can define a distribution target for the library in Pants that triggers the build_ext routine, but in this case our cache doesn't work. And when building the Pex, I'd like to bring along just those shared library files that are required and not the whole boatload.
It seems like what I want is to be able to define a target for each eventual shared library file, with dependencies looking something like:
pex -> application code -> .so file -> .py source
Before I dive too deep into the plugin framework, any pointers or feedback? If I were to go the route of writing a plugin, any words of advice for how to think about this?
pantsbuild/pants