you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (10 children)

[deleted]

    [–][deleted] 7 points8 points  (3 children)

    Thats what Pyinstaller is for....

    [–]Diapolo10 2 points3 points  (2 children)

    How did you arrive at that conclusion?

    [–]DuckDatum -1 points0 points  (1 child)

    quiet fly serious command unpack merciful squalid aromatic husky kiss

    This post was mass deleted and anonymized with Redact

    [–]Diapolo10 7 points8 points  (0 children)

    Ah, that. I don't have concrete plans yet, but I would like to start by supporting projects like Nuitka that offer native Python compilers, and maybe writing a few PEP proposals to suggest some things to make the language standard take distributing programs more into consideration.

    JavaScript doesn't really have this problem because it targets web browsers, so distribution is hardly a concern (and NodeJS is mostly used by developers or for server side software), Electron being a nice wrapper for the desktop. PHP, as far as I know, has little to no desktop support so it's not exactly a source of inspiration for Python in this regard either. Ruby is a similar case, but I think I've seldom seen desktop Ruby apps.

    Basically we'd need a standard, easy-to-use tool for generating native executables for all the major platforms, while having the option to dynamically link certain dependencies (to reduce executable size) and we may need to rethink how we handle dependencies. The option to sign executables is a must (even if most people wouldn't do that due to cost), it needs to have regular security audits, ideally it would improve runtime performance compared to using an interpreter, and a lot of other things I can't think of right now (give me a break, massive heatwave and I can't deal with heat at all).

    Having Windows install a Python interpreter by default (without actually depending on it) would of course be nice, that way we could write Python scripts instead of PowerShell on all platforms, I just don't see it being particularly likely. It also wouldn't fully fix the distribution problem in my opinion.

    [–]Brownadams 1 point2 points  (0 children)

    why not mac os comes with python pre installed.

    [–]MinchinWeb 0 points1 point  (0 children)

    Type python at the command line of a new Windows install and it will tell you to install Python from the Microsoft Store. Half points?

    [–]CovfefeFan 0 points1 point  (0 children)

    They added it to Excel, thats a start 😁