I'm sorry, doesn't pip already works there? Otherwise, there's pyinstaller which is great but it requires an entrypoint so it won't do with a pure lib that doesn't expose any script at all.
Edit : arf, sorry, I answered the wrong comment, I actually agree with my parent.