3 ms·
I've seen .EXE builders for Python that produce binaries for Windows, it'd be cool to have something similar in the *nix world. Been seeing a lot of people who
by VectorLock 5y ago
I've seen .EXE builders for Python that produce binaries for Windows, it'd be cool to have something similar in the *nix world.
Been seeing a lot of people who think Go is just better because you can build a single binary. Go is a pretty decent language but its weird that one feature seems to trump everything to far too many people I know.
- scrame 5y agoThanks for the response. I was thinking something similar. This particular cli is a client to an app i wrote in kotlin/java that tracks particular kubernetes pods. There were a ton of hoops to jump through on both sides and then someone asked why I didn't just write it in go. Well, this was consolidating some other functionality on both sides and I was extending/migrating the apps as we moved from colo to cloud, and it just... didn't occur to me, and we don't really have anything golang based, so no expertise or infrastructure and the migrations were happening regardless. In hindsight this might have been better done that way, but I don't know that I've got the bandwidth to rewrite it all. Distributing a shell runscript to run a docker image works because everyone in my space uses docker, and most of the teams are single language focused and most aren't python. Its still an issue to keep everyone's run script updated, but maybe not enough to introduce a new language and toolchain.
- GOATS- 5y agoYou can produce binaries for macOS and Linux with PyInstaller.