Differences between revisions 9 and 30 (spanning 21 versions)
Revision 9 as of 2004-01-12 13:40:41
Size: 1269
Editor: cache1-2-ffm-vpn
Comment:
Revision 30 as of 2004-01-30 16:26:47
Size: 2268
Editor: ppilpf2660
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
== Tips & Tricks ==
 * PassingOptionsToPy2Exe Avoid using sys.argv to pass options
 * SubclassingPy2Exe Customizing the build process
 * EncodingsAgain Problem with encodings and when they are not found in a standalone executable
Line 13: Line 8:
[py2exe 0.5.0a5 http://prdownloads.sourceforge.net/py2exe/py2exe-0.5.0a5.win32-py2.3.exe] is a prerelease, [announced http://mail.python.org/pipermail/python-list/2003-November/193652.html] by Thomas Heller in November 2003. [http://prdownloads.sourceforge.net/py2exe/py2exe-0.5.0.win32-py2.3.exe py2exe0.5.0] is the release of py2exe 0.5
[http://groups.google.de/groups?dq=&hl=de&lr=&ie=UTF-8&oe=UTF-8&threadm=1ebr001fkuq85al2i8c26ejceu8qvedmdb%404ax.com&prev=/groups%3Fhl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26group%3Dcomp.lang.python announced] by Thomas Heller in Januar 2004
Line 17: Line 13:
And py2exe 0.5.0a5 is really usable. Nonetheless, I had to "upgrade" also my knowledge about workarounds I had to "upgrade" also my knowledge about workarounds from py2exe 0.4
Line 19: Line 15:
=== Tips ===
 * BetterCompression Getting complete wxPython Programms down to aroud 4 Megabytes
== Tips and Tricks ==
=== General ===
 * EncodingsAgain Problem with encodings and when they are not found in a standalone executable
 * AddingConfigFiles How can you add arbitrary files to your Py2Exe-Setup?
 * PathModul Using Jason Jorendorffs python PathModul together with Py2Exe 0.5
 * PassingOptionsToPy2Exe Avoid using sys.argv to pass options
 * SubclassingPy2Exe Customizing the build process
 * CustomIcons How to get your own icons with Py2Exe 0.5
 * TkInter I do not need any tkinter / tcl-Libs in my Setup
=== py2exe and win32com ===
 * WinShell using win32com.shell with py2exe 0.5
 * IncludingTypelibs allowing use of makepy generated typelibs
=== py2exe and Innosetup ===
 * BetterCompression Getting complete wxPython Programms down to around 4 Megabytes
 * SetupLanguage How to localize the language with [http://starship.python.net/crew/theller/py2exe/ py2exe] and [http://www.jrsoftware.org/isinfo.php InnoSetup]
 * QuickStartIcons How to add Startup-Links to the Quickstart-Bar & the Desktop using [http://www.jrsoftware.org/isinfo.php InnoSetup] together with Py2Exe
=== py2exe and Biopython ===
 * ConfigImportProblems Fixing problems with importing Bio.Config files from library.zip

py2exe

Py2Exe is an additional command to DistUtils, that creates standalone distributions for Win32.

Its home is here [http://starship.python.net/crew/theller/py2exe/] and on Sourceforge [http://sourceforge.net/projects/py2exe/]

Learned things with py2exe 0.5

[http://prdownloads.sourceforge.net/py2exe/py2exe-0.5.0.win32-py2.3.exe py2exe0.5.0] is the release of py2exe 0.5 [http://groups.google.de/groups?dq=&hl=de&lr=&ie=UTF-8&oe=UTF-8&threadm=1ebr001fkuq85al2i8c26ejceu8qvedmdb%404ax.com&prev=/groups%3Fhl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26group%3Dcomp.lang.python announced] by Thomas Heller in Januar 2004

As nearly usual in Open Source space, prerelases and beta are of the same quality as .02 releases from some commercial software develeoping companies - rather full functional, with small obstacles.

I had to "upgrade" also my knowledge about workarounds from py2exe 0.4

Tips and Tricks

General

py2exe and win32com

py2exe and Innosetup

py2exe and Biopython

Fixes

Thoughts

Py2Exe (last edited 2008-07-08 11:27:43 by localhost)