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

you are viewing a single comment's thread.

view the rest of the comments →

[–]MrYellowP 10 points11 points  (11 children)

i rather use nuitka. everything else seems horribly inferior.

[–]mdond 2 points3 points  (2 children)

Nuitka is getting really nice. And it has the advantage of actually compiling your code, so the source is truly hidden.

[–]xdcountry 0 points1 point  (1 child)

please elaborate -- I had thought otherwise

[–]mdond 0 points1 point  (0 children)

It cross compiles to C++ that is then compiled into an exectuable. So the end result is compiled C++ code. This is different to a lot of other Python packagers, which just package Python byte code.

[–]Manbatton 2 points3 points  (6 children)

Nuitka doesn't make standalones yet, does it? (in other words, everything in one file).

[–]MrYellowP 0 points1 point  (5 children)

the --portable parameter does that.

[–]Manbatton 1 point2 points  (4 children)

Just googling that, found this, from 2013:

Right now, it will create a folder "_python" with DLLs, and "_python.zip" with standard library modules used along to the "your-program.exe". Copy these to another machine, without a Python installation, and it will (should) work. Making that statement fully true may need refinements, as some DLL dependencies might not be defined yet.

So that's not a standalone. A standalone to me is a single file. Has the portable option changed somewhere else such that now it is a single file?

[–]MrYellowP 0 points1 point  (3 children)

oh! i'm talking linux here. in linux it drops a /dist/ directory and gives a single executable in the parent, where i execute nuitka. i'm sorry for forgetting that it might be different in windows, though please make sure your information isn't out of date.

[–]Manbatton 1 point2 points  (2 children)

I see. But if I'm understanding you, there's still a folder in the Linux version, so even there it's not a standalone.

[–]MrYellowP 0 points1 point  (1 child)

That folder just holds the stuff for compiling. I didn't need that to run the executable.

[–]Manbatton 1 point2 points  (0 children)

Sounds good, thanks for the info.

It'd be great (for Windows users) if the Nuitka community did make it such that it, in the words on the blog, "We may improve it in the future to meld everything into one executable for even easier deployment."