Open sneakers-the-rat opened 2 days ago
Definitely an interesting topic. I have a candidate package that can use good guidance, too.
My nefarious plan to slowly convince someone to help me write "rust for python ppl" with pyo3 as a gateway.....
I assume you would want to switch to pdm for managing a package with extensions?
Creating an issue to check interest/feasibility/etc. in expanding the section on packaging with compiled extensions!
There are a bunch of moving pieces here, and I don't think we can quite arrive at a single "best practices" because of the amount of variability inherent in the problem, but I think we can get a nice starting point and compile resources for further reading.
Sketching a few of the pieces that would need to be covered:
pyproject.toml
and accessory scripts for building