Differences between revisions 19 and 22 (spanning 3 versions)
Revision 19 as of 2008-03-12 20:25:27
Size: 1788
Editor: 65
Comment: mark dead link
Revision 22 as of 2009-01-25 17:48:52
Size: 2135
Editor: 61
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Tools for distributing Python software:

== General Package Distribution ==

General distribution of Python code is typically done using the [wiki:DistUtils distutils] package from the standard library which can produce source and binary distributions which depend on end-users having Python already installed on their computer.
General distribution of Python code is typically done using the [[Distutils|Distutils]] package from the standard library which can produce source and binary distributions which depend on end-users having Python already installed on their computer. Such distributions are frequently available as operating system packages (a more general form of the term "package" referring not just to code but also to documentation, resources and other things) and can be installed using the package management infrastructure employed by various operating systems - see "System Package Distribution" below.
Line 13: Line 9:
 * ["cx_Freeze"]
 * [http://effbot.org/zone/exemaker.htm ExeMaker] - Creates EXE loaders for Python scripts (for Windows)
 * ["Freeze"] & [wiki:Py2Exe py2exe] - building executables for Unix & Windows
 * [http://www.jrsoftware.org/isinfo.php Inno Setup] - use to wrap up the output of the above into a Windows exe
 * [[cx Freeze]]
 * [[http://effbot.org/zone/exemaker.htm|ExeMaker]] - Creates EXE loaders for Python scripts (for Windows)
 * [[Freeze]] & [[Py2Exe|py2exe]] - building executables for Unix & Windows
 * [[http://www.jrsoftware.org/isinfo.php|Inno Setup]] - use to wrap up the output of the above into a Windows exe
Line 18: Line 14:
 * [http://davidf.sjsoft.com/mirrors/mcmillan-inc/install1.html McMillan's Installer]
 * [http://undefined.org/python/#py2app py2app] - Converts Python scripts into executable Mac OS X applications
 * [[http://davidf.sjsoft.com/mirrors/mcmillan-inc/install1.html|McMillan's Installer]] - includes notes about (other) distributing solutions
 * [[http://undefined.org/python/#py2app|py2app]] - Converts Python scripts into executable Mac OS X applications
Line 23: Line 19:
 * (FIXME: dead link) [http://www.mcmillan-inc.com/install1.html McMillan's page] about (other) distributing solutions.
Line 25: Line 20:
## * [http://web.archive.org/web/20030621135837/http://www.mcmillan-inc.com/install1.html McMillan's page] about (other) distributing solutions.
Line 28: Line 24:
 * ["buildout"]  * [[buildout]]
Line 32: Line 28:
Although [wiki:DistUtils distutils] supports the production of some system packages, other tools exist to make such packages: Although [[Distutils|Distutils]] supports the production of some system packages, other tools exist to make such packages:
Line 34: Line 30:
 * [http://www.showmedo.com/videos/video?name=linuxJensMakingDeb&fromSeriesID=37 ShowMeDo video] (and wiki) on how to create a Debian package (.deb) from a python program (.py). This is useful if you want to distribute to Debian based Linux Systems like [http://www.debian.org Debian] or [http://www.ubuntulinux.com Ubuntu].  * [[http://www.showmedo.com/videos/video?name=linuxJensMakingDeb&fromSeriesID=37|ShowMeDo video]] (and wiki) on how to create a Debian package (.deb) from a python program (.py). This is useful if you want to distribute to Debian based Linux Systems like [[http://www.debian.org|Debian]] or [[http://www.ubuntulinux.com|Ubuntu]].

Distribution Utilities

General distribution of Python code is typically done using the Distutils package from the standard library which can produce source and binary distributions which depend on end-users having Python already installed on their computer. Such distributions are frequently available as operating system packages (a more general form of the term "package" referring not just to code but also to documentation, resources and other things) and can be installed using the package management infrastructure employed by various operating systems - see "System Package Distribution" below.

Installers

The following are projects which support the production of installers or stand-alone executables.

See also:

See also:

System Package Distribution

Although Distutils supports the production of some system packages, other tools exist to make such packages:

  • ShowMeDo video (and wiki) on how to create a Debian package (.deb) from a python program (.py). This is useful if you want to distribute to Debian based Linux Systems like Debian or Ubuntu.

(Someone needs to explain eggs.)

DistributionUtilities (last edited 2024-01-04 11:20:11 by MarcAndreLemburg)

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