Re: [Dorset] Cross-platform python development for windows.
I couldn't figure out how to use wine for it, but I managed to get a Windows 10 VM up and running, and once I had PyInstaller on it it compiled flawlessly. Thanks for all your support! Rafi On 03.03.2018 20:52, Hamish MB wrote: Pyinstaller sounds like a good idea. He's already written it by the sounds of it. Is that Go code? I've heard a lot about Go recently. Hamish On 3 Mar 2018, at 18:10, Ralph Corderoy> wrote: Hi Rafi, I've been looking into things like Py2exe and Pyinstaller, but they all require Windows to freeze .exe. Any Idea how I'd go about it on my machine? Perhaps using wine somehow? https://github.com/pyinstaller/pyinstaller/wiki/FAQ#features says to use WINE for production from Linux, and links to a mailing-list thread. Good luck. Or, you could use a language that ships a cross-compiling compiler by default, and includes producing Windows EXEs. :-) https://tour.golang.org/welcome/1 $ cat hellow.go package main import ( "fmt" ) func main() { fmt.Println("Hello, playground") } $ GOOS=windows go build $ file a.out.exe a.out.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows $ Cheers, Ralph. -- Next meeting: Bournemouth, Tuesday, 2018-03-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR
Re: [Dorset] Cross-platform python development for windows.
I can send it to the person who asked me to do it, but it could take a while to hear back, and that person isn't very proficient in computers at all, so useful feedback will likely be rare. On 25.02.2018 13:31, Hamish MB wrote: Interesting idea using wine. I don't know if that would work but worth a try. I've used py2app before for macOS packaging and its mostly good, if a little buggy at times. Would you have a Windows system to test it on? Hamish On 25 Feb 2018, at 12:19, Maqjor Mrx <maqjor.mr<mailto:.x...@gmail.com target=_blank>maqjor.mr<http://maqjor.mr>.x...@gmail.com> wrote: Greetings all, Rafi here, Lately I've been asked to code a script for someone using Windows. I'm using Python and don't have a Windows system myself, but would like to be able to give them a standalone .exe file. I've been looking into things like Py2exe and Pyinstaller, but they all require Windows to freeze .exe. Any Idea how I'd go about it on my machine? Perhaps using wine somehow? Any help would be greatly appreciated. Cheers, Rafi -- Next meeting: Bournemouth, Tuesday, 2018-03-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR
[Dorset] Cross-platform python development for windows.
Greetings all, Rafi here, Lately I've been asked to code a script for someone using Windows. I'm using Python and don't have a Windows system myself, but would like to be able to give them a standalone .exe file. I've been looking into things like Py2exe and Pyinstaller, but they all require Windows to freeze .exe. Any Idea how I'd go about it on my machine? Perhaps using wine somehow? Any help would be greatly appreciated. Cheers, Rafi -- Next meeting: Bournemouth, Tuesday, 2018-03-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR