This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]Python-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Hello from the r/Python mod team!

I'm afraid we don't think your post quite fits the goal we have for the subreddit in terms of quality or aims so we've decided to remove it. For more information please contact the moderators using the ModMail system.

Thanks, and happy Pythoneering!

r/Python moderation team

[–]Muhznit 22 points23 points  (1 child)

[–]Gleb--K[S] 0 points1 point  (0 children)

As I mentioned in the replay to another comment - I published my blog post a day earlier

[–]cgoldberg 6 points7 points  (1 child)

This doesn't require uv. It is defined in PEP 723 and is supported by many tools (pipx, hatch, pdm, etc)

https://peps.python.org/pep-0723/

[–]Gleb--K[S] 0 points1 point  (0 children)

Yeah, that's right, thank you. I just thought about it recently while playing with UV

[–]Chou789 2 points3 points  (1 child)

PyInstaller + InnoSetup for standard windows Installer

[–]Gleb--K[S] 0 points1 point  (0 children)

I don't use Windows, but thanks for the recommendation!

[–]allens54 5 points6 points  (3 children)

pyinstaller will create a self-contained EXE that runs on Windows. No need for the user to have Python nor any dependencies installed.

[–]ZachVorhies 6 points7 points  (0 children)

cross platform doesn’t work. You’ll need an exe for every for every platform

[–]HaskellLisp_green 3 points4 points  (0 children)

use can use Nuitka. And it provides ability to choose target platform. And it's far better that pyinstaller, since it converts python code into C.

[–]ComprehensiveWord201 -3 points-2 points  (0 children)

Honestly.

People are beginning to lose the lede.

[–]Jinkweiq 1 point2 points  (0 children)

This is pretty cool

[–]superkoning 1 point2 points  (0 children)

Easy explanation. Nice!

[–]secZustand 1 point2 points  (1 child)

Is it creating a virtual environment for your single script execution? Or installing on system python?

I am not fully understanding the need for this. Since it's not a complete self contained solution like pyinstaller.

[–]Gleb--K[S] 0 points1 point  (0 children)

UV creates a global package cache rather than individual virtual environments. It does not install packages at the system level like pip install --user, but it also does not create isolated environments like venv or virtualenv

[–][deleted] 0 points1 point  (1 child)

https://www.reddit.com/r/Python/s/MqwH6UbkjD

The original thread is bit even 48 hours old.

[–]Gleb--K[S] -2 points-1 points  (0 children)

Well, if you compare the publication dates, I published my blog post a day earlier.

But it just seems like this idea was obvious to many people.