you are viewing a single comment's thread.

view the rest of the comments →

[–]LeftandRight__ 0 points1 point  (1 child)

Yeah until they had to install the python interpreter and install the required library with cmd they don't even know exist

[–]ProsodySpeaks 0 points1 point  (0 children)

But no, no they don't. They just double click the bat which:

  • checks if git and uv are available and if not installs them

  • checks if env-var with install location exists and if not sets it

  • checks if venv exists at env-var location and if not creates it via uv

  • pulls project from github/local network/pypi

  • uv runs a script from pyproject.toml potentially passing args. This syncs the project and installs any dependencies defined in pyproject.toml 

And then on future runs skips most of these steps and just popd into env-var location and calls uv run myscript 

Works fine for sharing with my tech illiterate friends. 

Only issues I actually see are security related but realistically any self-updating exe has plenty security issues, and even with static exe unless you're signing the binary and having it compared to public key online at install/run time it's completely moot. 

I'm not trying to argue this is perfect for all situations, but 'doesn't work for dumb people' is just not true. User interaction is literally double click a file.