Differences between revisions 14 and 94 (spanning 80 versions)
Revision 14 as of 2004-01-12 15:15:53
Size: 1269
Editor: cache1-2-ffm-vpn
Comment:
Revision 94 as of 2004-10-03 13:37:51
Size: 4971
Editor: 218
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:
 * 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
 * OptimizedBytecode How to get optimised bytecode for all modules
=== 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
Line 10: Line 50:
=== 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.
Line 11: Line 54:
== Learned things with py2exe 0.5 ==

[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.

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.

And py2exe 0.5.0a5 is really usable. Nonetheless, I had to "upgrade" also my knowledge about workarounds

=== Tips ===
 * BetterCompression Getting complete wxPython Programms down to aroud 4 Megabytes
 * EncodingsAgain Problem with encodings and when they are not found in a standalone executable
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
Line 25: Line 62:
 * GuiApps with options 'windows' still open a console window for errors
Line 28: Line 65:
 * SpeedUp using psyco to speed up code compilation
Line 29: Line 67:



 * Generation of .com and .exe files in one run
----
CategoryHomepage
[http://www.searcher.cn google排名]
[http://www.sooyi.com/google6.htm google推广]
[http://www.sooyi.com/google2.htm google排名]
[http://www.searcher.cn/web_promote.htm 网站推广]
[http://www.51asa.com/index2.htm 英国留学]
[http://www.51asa.com/index3.htm 出国留学咨询]
[http://www.51asa.com 出国留学]
[http://www.dlctc.com/html/about.htm porcelain insulator]
[http://www.9sf.cn/new_index.htm 传奇私服]
[http://www.njuyq.com/index_new.htm 球磨机]
[http://www.shellbitumen.com.cn 沥青]
[http://www.better-56.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.searcher.cn google排名] [http://www.sooyi.com/google6.htm google推广] [http://www.sooyi.com/google2.htm google排名] [http://www.searcher.cn/web_promote.htm 网站推广] [http://www.51asa.com/index2.htm 英国留学] [http://www.51asa.com/index3.htm 出国留学咨询] [http://www.51asa.com 出国留学] [http://www.dlctc.com/html/about.htm porcelain insulator] [http://www.9sf.cn/new_index.htm 传奇私服] [http://www.njuyq.com/index_new.htm 球磨机] [http://www.shellbitumen.com.cn 沥青] [http://www.better-56.com 货架]

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