That's pretty much what "Relieving your Python packaging pain" advocates.
https://www.bitecode.dev/p/relieving-your-python-packaging-p...
Reply on news.ycombinator.com