Differences between revisions 7 and 17 (spanning 10 versions)
Revision 7 as of 2007-02-14 02:23:43
Size: 879
Comment:
Revision 17 as of 2019-01-16 09:31:39
Size: 1131
Comment: removed link to deleted page: python-packager
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
"I have a Python application I've developed; how do I deliver it
to my customer/friend/...?"
"I have a Python application I've developed; how do I deliver it to my customer/friend/...?"
Line 6: Line 5:
 * tar up the source and send it. It's reasonable to expect that the end-user's host will have Python installed. MacOS comes that way; most Linux distributions do; and it's not onerous to insist that a Windows user install, for example, ActivePython;  * tar up the source and send it. It's reasonable to expect that the end-user's host will have Python installed. MacOS comes that way; most Linux distributions do; and Python is easy enough to install under Windows
Line 8: Line 7:
 * for this purpose, ["Pyrex"] can be regarded as a language variant to Python itself;
 * ["Freeze"]
 * ["cx_Freeze"]
 * [wiki:MacPython/py2app py2app] is for Macintosh
 * ["py2exe"]
 * Gordon McMillan's installer
 * ...
 * for this purpose, [[Pyrex]] can be regarded as a language variant to Python itself;
 * [[Freeze]]
 * [[cx Freeze]]
 * [[MacPython/py2app|py2app]] is for Macintosh
 * [[py2exe]]
 * PyInstaller (supports Windows, Linux and soon Mac)
 * [[Esky]] (adds a bootstrap executable and allows to auto-update your applications over the network or from local directory; supports Windows, Linux and Mac)
 * [[Pyarmor]] (obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts)
Line 17: Line 17:
[http://effbot.org/zone/python-compile.htm discussed] [[http://effbot.org/zone/python-compile.htm|discussed]]

One of the most-frequently asked questions of all time is this: "I have a Python application I've developed; how do I deliver it to my customer/friend/...?"

Here are typical answers:

  • tar up the source and send it. It's reasonable to expect that the end-user's host will have Python installed. MacOS comes that way; most Linux distributions do; and Python is easy enough to install under Windows
  • for Windows, use MovablePython;

  • for this purpose, Pyrex can be regarded as a language variant to Python itself;

  • Freeze

  • cx Freeze

  • py2app is for Macintosh

  • py2exe

  • PyInstaller (supports Windows, Linux and soon Mac)

  • Esky (adds a bootstrap executable and allows to auto-update your applications over the network or from local directory; supports Windows, Linux and Mac)

  • Pyarmor (obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts)

FredrikLundh discussed some of these in 2003.

As of 2007, py2exe perhaps is second in use only to source distribution.

deployment (last edited 2019-01-16 09:31:39 by Sven Schirmer)

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