2378
Comment:
|
2726
A help to create programs for Windows using only Linux
|
Deletions are marked like this. | Additions are marked like this. |
Line 50: | Line 50: |
-- hipersayan_x <<DateTime(2009-12-22T12:34:00Z)>> About: http://bugs.winehq.org/show_bug.cgi?id=3591 Try using Teleport Me Now! to create portable programs from Linux to Windows with wine. https://sourceforge.net/projects/tpmn/ Is Alpha but it work fine. Here you have an real example of use: http://sushi-huh.sourceforge.net |
py2exe is a module that makes it so you can compile Python code to Windows executables.
Linux compatibility
py2exe and NSIS through WINE (for making Windows executables) is handy, but py2exe produces invalid Win32 executables
Problem 1
Problem 2
- fixme:resource:get_resource_section .rsrc isn't the last section
RuntimeError: EndUpdateResource: Success
See Also
Discussion
I'm wondering: Is there something like Py2Exe, but for Linux?
We have some Python code that we'd like clients to be able to run, but we don't want them to have to install Python.
I know that Python is a required install on Red Hat 9 and up, but I don't think it is a required install on Suse, or Mandrake, or yadda yadda yadda. So, I think this would be useful. If we had somethig like Py2Exe for Linux, then we can justify using Python here at work.
The question is: Does something like this exist right now?
No, we can't require our users to install something new. Everything has to just run, right out of the box, with zero installation.
Try googling for "freeze". It's in the Python distribution (in fact, there's a FAQ section called 1.4 Where is Freeze for Windows?, waddayamean, is there a Py2Exe for Linux ;)).
Heh! Well, I just never saw anything about Freeze online. I googled for "compile Python to executable" and stuff like that, for about 30 minutes, and never saw a single mention of Freeze. "If it's not on the net, it may well not exist," right?
So, Freeze will now have a place on the net: right here.
Score 1 for wiki.
-- LionKimbro 2004-08-30 03:43:57
Why dont you make one yourself, it's probably not that hard... -- anon
"probably"? Anon sounds like an optimist. -- RetrogradeOrbit
One other idea, still playing around with it, is pyinstaller. http://www.pyinstaller.org/. If you want a GUI for it, try PythonCard StandAloneBuilder, http://www.linux2000.org/pm.html. Seems like there might be some bugs, but some things seem to work seamlessly. --Alestan
-- hipersayan_x 2009-12-22 12:34:00
About:
http://bugs.winehq.org/show_bug.cgi?id=3591
Try using Teleport Me Now! to create portable programs from Linux to Windows with wine.
https://sourceforge.net/projects/tpmn/
Is Alpha but it work fine. Here you have an real example of use: