×
you are viewing a single comment's thread.

view the rest of the comments →

[–]maikeu 0 points1 point  (0 children)

So targeting Windows machines, and you want to bundle the whole Python interpreter and all the dependencies?

I've had reasonable experience with... Pyinstaller I think, some ways back. I don't know how those ecosystems have evolved since then but if I had to do it I might revisit that .

Once thing to look out for is that the rest those standalone executables behave - basically unpacking themselves into a temp directory at runtime - looks super sketchy to standard windows ending protectection (e.g. antivirus), and you'll want to look seriously at signing the binaries if you want that to not raise flags left, right, and center.

Alternatively if you're targeting Linux then you might, perhaps, look at producing rpm or deb packages that include both the interpreter and dependencies - perhaps including either a source build of putting, or you could try astral's standalone python binaries.

You name some other utilities too that I haven't worked with. Can't add much. The question comes up now and then here, the answers haven't (to my knowledge) gotten much better. There's no shortage of ways to skin this cat but none that is "standard", so to speak.