4 ms·
I have added PyInstaller (http://www.pyinstaller.org/ http://www.pyinstaller.org/) to my toolchain recently for working with Python app distribution. It gets me
by meddlepal 9y ago
I have added PyInstaller (http://www.pyinstaller.org/ http://www.pyinstaller.org/) to my toolchain recently for working with Python app distribution. It gets me pretty close to the Golang single distributable executable ideal... the main issue is needing to build on each target OS, which kind of sucks but I can deal with.
- MereInterest 9y agoI've used pyinstaller on Wine in order to make Windows executables from Linux. Haven't figured out yet how to cross-compile for OSX yet, but that at least reduces it from requiring three major OSes to build to two.
- book_mentioned 9y agoHave you had a chance to evaluate https://pybee.org https://pybee.org ? src: https://news.ycombinator.com/item?id=16419628#16420689 https://news.ycombinator.com/item?id=16419628#16420689
- RightMillennial 9y agoOther than promoting Python and "diversity", what exactly does PyBee/BeeWare do? It sounds like an SDK, but it appears to just point to a bunch of random GitHub projects. It's not very clear to me.
- XorNot 9y agoAfter some digging I've still no idea if it solves my core problem of needing a Mac to build Mac binaries.
- meddlepal 9y agoWe have low interest in Windows support for our software so I haven't even tried yet but WINE is a good idea if it works. For MacOS a TravisCI Mac build should do the trick. It'd be nice if it could all be done in a single run..., but it doesn't seem possible.
- pritambarhate 9y agoYes, I am also using PyInstaller for an infrastructure automation CLI project I am doing. Works really well to produce the single executable. Also for most of the automation work, you don't really need Go's speed. Python's convenience makes iterating a lot quicker.