News for hackers. Stuff that matters.
Re:My Python Development Environment, 2018 Edition by meddlepal on Thursday February 22, 2018 @02:06PM (#16440388)
I have added PyInstaller (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.
Re:My Python Development Environment, 2018 Edition by pritambarhate on Friday February 23, 2018 @03:27AM (#16444981)
Yes, 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.
Re:My Python Development Environment, 2018 Edition by MereInterest on Thursday February 22, 2018 @02:10PM (#16440427)
I'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.
Re:My Python Development Environment, 2018 Edition by book_mentioned on Thursday February 22, 2018 @02:34PM (#16440652)
Re:My Python Development Environment, 2018 Edition by RightMillennial on Thursday February 22, 2018 @04:09PM (#16441424)
Other 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.
Re:My Python Development Environment, 2018 Edition by XorNot on Thursday February 22, 2018 @04:10PM (#16441425)
After some digging I've still no idea if it solves my core problem of needing a Mac to build Mac binaries.
Re:My Python Development Environment, 2018 Edition by meddlepal on Thursday February 22, 2018 @02:35PM (#16440661)
We 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.