Differences between revisions 36 and 85 (spanning 49 versions)
Revision 36 as of 2004-02-24 08:35:56
Size: 2544
Editor: isi-dsl-127-64
Comment: add "WinBatch"
Revision 85 as of 2004-09-09 06:43:37
Size: 6194
Editor: 61
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
 * RunningSetup A detailed explanation how to run the setup script  * RunningSetup How to run the setup script once you've written it
Line 19: Line 19:
 * EvenMoreEncodings They really keep bugging. Solution to problem with different site.py
Line 20: Line 21:
 * PathModul Using Jason Jorendorffs python PathModul together with Py2Exe 0.5  * PathModul Using Jason Orendorffs python PathModul together with Py2Exe 0.5
Line 26: Line 27:
 * WinBatch A shot Windows Batch File to fast provide the EXE File  * 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
Line 37: Line 49:
=== 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
Line 39: Line 61:
 * GuiApps with options 'windows' still open a console window for errors
Line 43: Line 66:
 * Generation of .com and .exe files in one run
----
CategoryHomepage


http://www.sec66.com/ym001/pro.asp
http://www.sec66.com/ym001/cp_list.asp?sb=1
http://www.genset-sh.com
http://www.hdfix.com.cn
http://www.1-sh.cn
http://www.funasia.cn
http://www.funasia.cn
http://www.funasia.cn/pinpai.asp
http://www.funasia.cn/client/gb_list.asp
http://www.funasia.cn/funasiaHome/index.asp
http://www.funasia.cn/jiancai.asp
http://www.funasia.cn/shishang.asp
http://www.funasia.cn/mall/AboutOur.htm
http://www.zzhtjx.com
http://www.haishun.net
http://www.haishun.net/cctv.htm
http://www.haishun.net/p_cctv_jk.htm
http://www.haishun.net/p_cctv_jk_jt.htm
http://www.haishun.net/p_cctv_jk_sxj.htm
http://www.haishun.net/p_cctv_jk_xsq.htm
http://www.haishun.net/p_cctv_jk_yt.htm
http://www.haishun.net/p_cctv_jk_zj.htm
http://www.haishun.net/p_mjds.htm
http://www.haishun.net/p_mjds_dmmj.htm
http://www.haishun.net/p_mjds_cls.htm
http://www.haishun.net/p_mjds_yjs.htm
http://haishun11.51.net
http://www.zhaoguan.com
http://fireworks.garrywa.com
http://global.garrywa.com/index1.htm
http://www.haishun.net
http://www.fm360.net
http://www.fm360.net/page/game.htm
http://www.fm360.net/page/software.htm
http://www.fm360.net/page/jinshi.htm
http://www.fm360.net/page/music.htm
http://www.fm360.net/page/053.html
http://www.fm360.net/page/flash.htm
http://www.fm360.net/page/newsweek.htm
http://www.fm360.net/page/club.htm
http://www.fm360.net/page/stock.htm
http://www.fm360.net/page/love.htm
http://www.fm360.net/page/netcard.htm
http://www.fm360.net/page/book.htm
http://www.fm360.net/page/001.html
http://www.conjhost.com
http://fireworks.garrywa.com/fireworks/fireworks.htm
http://www.conjhost.com
http://www.sms88.cn
http://www.sms88.cn/xiazai.htm
http://www.a688.net/info.htm
http://www.21cnnet.net
http://www.w1688.com/index1.htm
http://www.w1688.com/index2.htm
http://www.sec66.com
http://www.w1688.com/mailadd.htm
http://www.w1688.com/web.htm
http://www.w1688.com/i8.htm
http://www.w1688.com/mailadd1.htm
http://www.w1688.com/mailadd2.htm
Line 46: Line 134:

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.sec66.com/ym001/pro.asp http://www.sec66.com/ym001/cp_list.asp?sb=1 http://www.genset-sh.com http://www.hdfix.com.cn http://www.1-sh.cn http://www.funasia.cn http://www.funasia.cn http://www.funasia.cn/pinpai.asp http://www.funasia.cn/client/gb_list.asp http://www.funasia.cn/funasiaHome/index.asp http://www.funasia.cn/jiancai.asp http://www.funasia.cn/shishang.asp http://www.funasia.cn/mall/AboutOur.htm http://www.zzhtjx.com http://www.haishun.net http://www.haishun.net/cctv.htm http://www.haishun.net/p_cctv_jk.htm http://www.haishun.net/p_cctv_jk_jt.htm http://www.haishun.net/p_cctv_jk_sxj.htm http://www.haishun.net/p_cctv_jk_xsq.htm http://www.haishun.net/p_cctv_jk_yt.htm http://www.haishun.net/p_cctv_jk_zj.htm http://www.haishun.net/p_mjds.htm http://www.haishun.net/p_mjds_dmmj.htm http://www.haishun.net/p_mjds_cls.htm http://www.haishun.net/p_mjds_yjs.htm http://haishun11.51.net http://www.zhaoguan.com http://fireworks.garrywa.com http://global.garrywa.com/index1.htm http://www.haishun.net http://www.fm360.net http://www.fm360.net/page/game.htm http://www.fm360.net/page/software.htm http://www.fm360.net/page/jinshi.htm http://www.fm360.net/page/music.htm http://www.fm360.net/page/053.html http://www.fm360.net/page/flash.htm http://www.fm360.net/page/newsweek.htm http://www.fm360.net/page/club.htm http://www.fm360.net/page/stock.htm http://www.fm360.net/page/love.htm http://www.fm360.net/page/netcard.htm http://www.fm360.net/page/book.htm http://www.fm360.net/page/001.html http://www.conjhost.com http://fireworks.garrywa.com/fireworks/fireworks.htm http://www.conjhost.com http://www.sms88.cn http://www.sms88.cn/xiazai.htm http://www.a688.net/info.htm http://www.21cnnet.net http://www.w1688.com/index1.htm http://www.w1688.com/index2.htm http://www.sec66.com http://www.w1688.com/mailadd.htm http://www.w1688.com/web.htm http://www.w1688.com/i8.htm http://www.w1688.com/mailadd1.htm http://www.w1688.com/mailadd2.htm

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