Differences between revisions 20 and 21
Revision 20 as of 2008-10-22 10:02:14
Size: 2130
Editor: hfaistos
Comment: Commented out link to McMillan page (it's mirrored already); add package notes.
Revision 21 as of 2008-11-15 14:00:50
Size: 2135
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
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. 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. 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 9: 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 14: Line 14:
 * [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
 * [[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 24: Line 24:
 * ["buildout"]  * [[buildout]]
Line 28: 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 30: 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.