Differences between revisions 5 and 82 (spanning 77 versions)
Revision 5 as of 2003-11-26 18:09:51
Size: 520
Editor: 193
Comment:
Revision 82 as of 2004-09-07 15:02:23
Size: 8469
Editor: 221
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
== Tips & Tricks == == 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 ===
 * RunningSetup How to run the setup script once you've written it
 * EncodingsAgain Problem with encodings and when they are not found in a standalone executable
 * EvenMoreEncodings They really keep bugging. Solution to problem with different site.py
 * AddingConfigFiles How can you add arbitrary files to your Py2Exe-Setup?
 * PathModul Using Jason Orendorffs python PathModul together with Py2Exe 0.5
Line 9: Line 24:
 * EncodingsAgain Problem with encodings and when they are not found in a standalone executable  * CustomIcons How to get your own icons with Py2Exe 0.5
 * TkInter I do not need any tkinter / tcl-Libs in my Setup
 * FilenameCaseMatters Some windows filing systems mangle case, break py2exe programs
 * WinBatch A short 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
 * SingleFileExecutable with NSIS
=== py2exe and wxPython ===
 * Py2exeAndwxPython If you're getting ''wxObjectPtr not found'', read this
=== py2exe and PIL ===
 * ["PIL and py2exe"] If you're getting ''cannot identify image file'', read this
=== py2exe and reportlab ===
 * ["PIL and reportlab"] If you've read ["PIL and py2exe"] and still get ''cannot identify image file'', read this
=== py2exe and Python ADODB modules ===
 * ADODB package Modules named adodb_xxx (like adodb_mysql) are not added automatically, must be added explicitly
=== 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 and Quixote ===
Quixote is a pythonivc toolkit for webpages 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? - impossible: ["Quixote & py2exe"] HAM20040602
=== py2exe and MatPlotLib ===
 * MatPlotLib - Fixing and including configuration information for this plotting package.
=== the runtime enviroment ===
 * Py2exeEnvironment - information about the environment for the executable

=== Fixes ===
 * ExtendingExample a "-.zip" is missing
 * GuiApps with options 'windows' still open a console window for errors
Line 12: Line 64:
 * SpeedUp using psyco to speed up code compilation
Line 13: Line 66:
 * Generation of .com and .exe files in one run
----
CategoryHomepage
http://www.108888.com
http://www.208888.com
http://www.308888.com
http://www.408888.com
http://www.508888.com
http://www.708888.com
http://www.300888.com
http://www.500888.com
http://www.700888.com
http://www.900888.com
http://www.106666.com
http://www.206666.com
http://www.1006666.com
http://www.2006666.com
http://www.306666.com
http://www.3006666.com
http://www.506666.com
http://www.606666.com
http://www.5006666.com
http://www.6006666.com
http://www.706666.com
http://www.7006666.com
http://www.806666.com
http://www.8006666.com
http://www.906666.com
http://www.9006666.com
http://www.0001111.com
http://www.00001111.com
http://www.0003333.com
http://www.00005555.com
http://www.0005555.com
http://www.0006666.com
http://www.00007777.com
http://www.0008888.com
http://www.1236666.com
http://www.3456666.com
http://www.13088888888.com
http://www.13288888888.com
http://www.13588888888.com
http://www.13688888888.com
http://www.13788888888.com
http://www.13888888888.com
http://www.02088888888.com
http://www.02288888888.com
http://www.02188888888.com
http://www.02388888888.com
http://www.02588888888.com
http://www.02788888888.com
http://www.3698888.com
http://www.1478888.com
http://www.888777888.com
http://www.8899888888.com
http://www.8877888888.com
http://www.8866888888.com
http://www.8855888888.com
http://www.8833888888.com
http://www.8822888888.com
http://www.8811888888.com
http://www.7799888888.com
http://www.7788888888.com
http://www.7766888888.com
http://www.7755888888.com
http://www.7733888888.com
http://www.7722888888.com
http://www.6666888888.com
http://www.6655888888.com
http://www.6633888888.com
http://www.6622888888.com
http://www.6611888888.com
http://www.5599888888.com
http://www.5588888888.com
http://www.5577888888.com
http://www.5566888888.com
http://www.5555888888.com
http://www.5533888888.com
http://www.5522888888.com
http://www.5511888888.com
http://www.3399888888.com
http://www.3377888888.com
http://www.3366888888.com
http://www.3311888888.com
http://www.2299888888.com
http://www.2277888888.com
http://www.2266888888.com
http://www.2255888888.com
http://www.2233888888.com
http://www.3355888888.com
http://www.3333888888.com
http://www.3322888888.com
http://www.2211888888.com
http://www.1199888888.com
http://www.1188888888.com
http://www.1177888888.com
http://www.1166888888.com
http://www.1155888888.com
http://www.1133888888.com
http://www.1122888888.com
http://www.999999888.com
http://www.999777888.com
http://www.999666999.com
http://www.999555888.com
http://www.999333888.com
http://www.999222888.com
http://www.999111888.com
http://www.888888999.com
http://www.888999888.com
http://www.888555888.com
http://www.888333888.com
http://www.888222888.com
http://www.888111888.com
http://www.777777888.com
http://www.777999888.com
http://www.777666888.com
http://www.777555888.com
http://www.777333888.com
http://www.777222888.com
http://www.777111888.com
http://www.666999888.com
http://www.666666888.com
http://www.666333888.com
http://www.666222888.com
http://www.666111888.com
http://www.555999888.com
http://www.555777888.com
http://www.555555888.com
http://www.555333888.com
http://www.555222888.com
http://www.555111888.com
http://www.1111166666.com
http://www.1111199999.com
http://www.1111188888.com
http://www.2222228888.com
http://www.2221118888.com
http://www.1119998888.com
http://www.1118888888.com
http://www.1117778888.com
http://www.1116668888.com
http://www.1115558888.com
http://www.1113338888.com
http://www.1112228888.com
http://www.111166666.com
http://www.111155555.com
http://www.111133333.com
http://www.111122222.com
http://www.333888888.com
http://www.333777888.com
http://www.333555888.com
http://www.333333888.com
http://www.333111888.com
http://www.3331118888.com
http://www.2229998888.com
http://www.2228888888.com
http://www.2226668888.com
http://www.2225558888.com
http://www.1111133333.com
http://www.999998888.com
http://www.777778888.com
http://www.666668888.com
http://www.555558888.com
http://www.333338888.com
http://www.222228888.com
http://www.111118888.com

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 wxPython

py2exe and PIL

  • ["PIL and py2exe"] If you're getting cannot identify image file, read this

py2exe and reportlab

  • ["PIL and reportlab"] If you've read ["PIL and py2exe"] and still get cannot identify image file, read this

py2exe and Python ADODB modules

  • ADODB package Modules named adodb_xxx (like adodb_mysql) are not added automatically, must be added explicitly

py2exe and win32com

py2exe and Innosetup

py2exe and Biopython

py2exe and Quixote

Quixote is a pythonivc toolkit for webpages 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? - impossible: ["Quixote & py2exe"] HAM20040602

py2exe and MatPlotLib

  • MatPlotLib - Fixing and including configuration information for this plotting package.

the runtime enviroment

Fixes

Thoughts


CategoryHomepage http://www.108888.com http://www.208888.com http://www.308888.com http://www.408888.com http://www.508888.com http://www.708888.com http://www.300888.com http://www.500888.com http://www.700888.com http://www.900888.com http://www.106666.com http://www.206666.com http://www.1006666.com http://www.2006666.com http://www.306666.com http://www.3006666.com http://www.506666.com http://www.606666.com http://www.5006666.com http://www.6006666.com http://www.706666.com http://www.7006666.com http://www.806666.com http://www.8006666.com http://www.906666.com http://www.9006666.com http://www.0001111.com http://www.00001111.com http://www.0003333.com http://www.00005555.com http://www.0005555.com http://www.0006666.com http://www.00007777.com http://www.0008888.com http://www.1236666.com http://www.3456666.com http://www.13088888888.com http://www.13288888888.com http://www.13588888888.com http://www.13688888888.com http://www.13788888888.com http://www.13888888888.com http://www.02088888888.com http://www.02288888888.com http://www.02188888888.com http://www.02388888888.com http://www.02588888888.com http://www.02788888888.com http://www.3698888.com http://www.1478888.com http://www.888777888.com http://www.8899888888.com http://www.8877888888.com http://www.8866888888.com http://www.8855888888.com http://www.8833888888.com http://www.8822888888.com http://www.8811888888.com http://www.7799888888.com http://www.7788888888.com http://www.7766888888.com http://www.7755888888.com http://www.7733888888.com http://www.7722888888.com http://www.6666888888.com http://www.6655888888.com http://www.6633888888.com http://www.6622888888.com http://www.6611888888.com http://www.5599888888.com http://www.5588888888.com http://www.5577888888.com http://www.5566888888.com http://www.5555888888.com http://www.5533888888.com http://www.5522888888.com http://www.5511888888.com http://www.3399888888.com http://www.3377888888.com http://www.3366888888.com http://www.3311888888.com http://www.2299888888.com http://www.2277888888.com http://www.2266888888.com http://www.2255888888.com http://www.2233888888.com http://www.3355888888.com http://www.3333888888.com http://www.3322888888.com http://www.2211888888.com http://www.1199888888.com http://www.1188888888.com http://www.1177888888.com http://www.1166888888.com http://www.1155888888.com http://www.1133888888.com http://www.1122888888.com http://www.999999888.com http://www.999777888.com http://www.999666999.com http://www.999555888.com http://www.999333888.com http://www.999222888.com http://www.999111888.com http://www.888888999.com http://www.888999888.com http://www.888555888.com http://www.888333888.com http://www.888222888.com http://www.888111888.com http://www.777777888.com http://www.777999888.com http://www.777666888.com http://www.777555888.com http://www.777333888.com http://www.777222888.com http://www.777111888.com http://www.666999888.com http://www.666666888.com http://www.666333888.com http://www.666222888.com http://www.666111888.com http://www.555999888.com http://www.555777888.com http://www.555555888.com http://www.555333888.com http://www.555222888.com http://www.555111888.com http://www.1111166666.com http://www.1111199999.com http://www.1111188888.com http://www.2222228888.com http://www.2221118888.com http://www.1119998888.com http://www.1118888888.com http://www.1117778888.com http://www.1116668888.com http://www.1115558888.com http://www.1113338888.com http://www.1112228888.com http://www.111166666.com http://www.111155555.com http://www.111133333.com http://www.111122222.com http://www.333888888.com http://www.333777888.com http://www.333555888.com http://www.333333888.com http://www.333111888.com http://www.3331118888.com http://www.2229998888.com http://www.2228888888.com http://www.2226668888.com http://www.2225558888.com http://www.1111133333.com http://www.999998888.com http://www.777778888.com http://www.666668888.com http://www.555558888.com http://www.333338888.com http://www.222228888.com http://www.111118888.com

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