Differences between revisions 1 and 15 (spanning 14 versions)
Revision 1 as of 2004-08-23 16:45:59
Size: 1023
Editor: h-67-100-126-22
Comment: is there something like Py2Exe, but for Linux?
Revision 15 as of 2008-11-15 14:00:22
Size: 2096
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
'''py2exe''' is a module that makes it so you can compile Python code to Windows executables.
Line 3: Line 4:
'''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
 * http://bugs.winehq.org/show_bug.cgi?id=3591

Problem 2
 * http://bugs.winehq.org/show_bug.cgi?id=3897
 * fixme:resource:get_resource_section .rsrc isn't the last section
 * RuntimeError: EndUpdateResource: Success
Line 6: Line 16:

 * [http://starship.python.net/crew/theller/py2exe/ Py2Exe home page]
 * [http://starship.python.net/crew/theller/moin.cgi/Py2Exe Py2Exe wiki]
 * [[http://www.py2exe.org|py2exe home page and wiki]]
 * DistributionUtilities
----
Line 11: Line 21:
Line 22: Line 31:
-- LionKimbro [[DateTime(2004-08-23T16:45:59Z)]] Try googling for "freeze". It's in the Python distribution (in fact, there's a FAQ section called [[http://python.org/doc/faq/windows.html#where-is-freeze-for-windows|1.4 Where is Freeze for Windows?]], waddayamean, is there a Py2Exe for Linux ;)).

-- JohannesGijsbers

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 <<DateTime(2004-08-30T03:43:57Z)>>

Why dont you make one yourself, it's probably not that hard... -- ''anon''

"probably"? Anon sounds like an optimist. -- RetrogradeOrbit

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

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 ;)).

-- JohannesGijsbers

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

Py2Exe (last edited 2010-07-12 12:51:33 by ip-80-226-1-7)

Unable to edit the page? See the FrontPage for instructions.