Why does it matter if a program is a self-contained binary? It seems like such an odd requirement. If you really want that it seems in principle easy to compile it all into one script with no imports and put a shebang at the top. What's the point, though?
Pyinstaller is pretty good for if you need a standalone installer.
Pyinstaller is pretty good for if you need a standalone installer.