←back to thread

/usr/bin/env -S uv run

(simonwillison.net)
124 points jcbhmr | 1 comments | | HN request time: 0.244s | source
Show context
p4bl0 ◴[] No.42202491[source]
It's a neat trick, but it still depends on uv being installed and network connectivity.

What's the advantage of this that makes it worth despite these constraints, compared to e.g. using pyinstaller [1] to build and distribute a single executable file with the python interpreter and all the dependencies of your project bundled in it in the exact versions you chose in your development virtual environment?

[1] https://pyinstaller.org/

replies(2): >>42202645 #>>42202823 #
1. Hikikomori ◴[] No.42202645[source]
Can just share a clear text script with a colleague over slack and let him just run it without extra steps.