Differences between revisions 25 and 49 (spanning 24 versions)
Revision 25 as of 2004-01-21 15:42:41
Size: 1920
Editor: cache2-2-ffm-vpn
Comment: WinShell hinzugefügt
Revision 49 as of 2004-05-19 17:57:04
Size: 3643
Editor: 206
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
[http://prdownloads.sourceforge.net/py2exe/py2exe-0.5.0a5.win32-py2.3.exe py2exe0.5.0a5] is a prerelease [http://mail.python.org/pipermail/python-list/2003-November/193652.html announced] 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 January 2004
Line 10: Line 11:
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. As nearly usual in Open Source space, prerelases and beta are of the same quality as .02 releases from some commercial software developing companies - rather full functional, with small obstacles.
Line 12: 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 16: Line 17:
 * RunningSetup A detailed explanation how to run the setup script
Line 22: Line 24:
 * TkInter I do not need any tkinter / tcl-Libs in my Setup
 * FilenameCaseMatters Some windows filing systems mangle case, break py2exe programs
 * WinBatch A shot Windows Batch File to fast provide the EXE File
 * ExcludingDlls Stopping py2exe from picking up unwanted DLLs
 * ShippingEmbedded How to use py2exe to ship embedded Python modules
Line 24: Line 31:
 * IncludingTypelibs allowing use of makepy generated typelibs
Line 28: Line 36:
=== py2exe and Biopython ===
 * ConfigImportProblems Fixing problems with importing Bio.Config files from library.zip

=== py2exe and Quixote ===
Quixote is a python webserver which allows one to execute ptl files using ihooks. You can distribute your web application with medusa or twisted and hence
you can create a web application without IIS or Apache. I like to distribute my application with py2exe but I can not make py2exe setup script to recognize that x.ptl is a valid python files. Any idea how to do this?
=== py2exe and MatPlotLib ===
 * MatPlotLib - This is a Python module to provide Matlab-like plotting. It relies on configuration and font files installed in the PythonXX\share\matplotlib directory. Getting that information into the executable proved to require a SMALL modification to the matplotlib __init__.py file, and a little bit of special setup in the py2exe setup file.
=== the runtime enviroment ===
 * Py2exeEnvironment - information about the environment for the executable
Line 31: Line 49:
 * GuiApps with options 'windows' still open a console window for errors
Line 34: Line 52:
 * SpeedUp using psyco to speed up code compilation
Line 35: Line 54:



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 January 2004

As nearly usual in Open Source space, prerelases and beta are of the same quality as .02 releases from some commercial software developing 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

py2exe and Quixote

Quixote is a python webserver which allows one to execute ptl files using ihooks. You can distribute your web application with medusa or twisted and hence you can create a web application without IIS or Apache. I like to distribute my application with py2exe but I can not make py2exe setup script to recognize that x.ptl is a valid python files. Any idea how to do this?

py2exe and MatPlotLib

  • MatPlotLib - This is a Python module to provide Matlab-like plotting. It relies on configuration and font files installed in the PythonXX\share\matplotlib directory. Getting that information into the executable proved to require a SMALL modification to the matplotlib init.py file, and a little bit of special setup in the py2exe setup file.

the runtime enviroment

Fixes

Thoughts

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