Differences between revisions 12 and 15 (spanning 3 versions)
Revision 12 as of 2008-07-08 11:27:43
Size: 4330
Editor: localhost
Comment: converted to 1.6 markup
Revision 15 as of 2009-06-30 19:50:15
Size: 4703
Editor: BramGeron
Comment: add a link to PyOpenGL
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Line 6: Line 7:
Line 8: Line 10:
Line 11: Line 14:
Line 15: Line 19:
Line 17: Line 22:
Line 19: Line 25:

== multiprocessing ==
 * See [[http://docs.python.org/library/multiprocessing.html#multiprocessing.freeze_support|multiprocessing.freeze_support]].
Line 22: Line 32:
Line 24: Line 35:
Line 27: Line 39:
Line 29: Line 42:

== pyodbc ==
 * [[PyODBC]] additional configuration required to include {{{decimal}}} package

== PyOpenGL ==
 * [[PyOpenGL]] A hack to get py2exe and PyOpenGL working
Line 31: Line 51:
Line 33: Line 54:
Line 35: Line 57:
Line 37: Line 60:
Line 39: Line 63:
Line 46: Line 71:
Line 48: Line 74:
Line 50: Line 77:
Line 52: Line 80:
Line 57: Line 86:
Line 59: Line 89:
Line 61: Line 92:

Working with Various Packages and Modules



  • If you're using import xml.etree.cElementTree, also use import xml.etree.ElementTree before that to get it working




logging module

  • LoggingModule - Getting the %(filename)s format string working in the python logging module.


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



  • If you're getting No scipy-style subpackage 'xxx' found in c:\...\library.zip\numpy. Ignoring, try --skip-archive command line option or pass options = {"py2exe": {"skip_archive":1}} to setup().

  • If you're using numarray and numpy together, be aware that they both have a _sort, and py2exe gets them confused. After py2exe creates the dist directotry, copy numpy/core/_sort.pyd and numarray/sort.pyd to their respective locations in the dist. [This problem is due to a bug in py2exe: it used a single, flat namespace for all .pyd files. This has been fixed in CVS as of 7 Sep 2007.]


  • os.popen If you're getting failures when the CWD is a UNC path like \\host\dirname\...


  • py2exeAndPIL If you're getting cannot identify image file, read this

  • PILAndFontfiles If you're getting Cannot find font file, read this

PyGTK (and Kiwi)


  • PyODBC additional configuration required to include decimal package


  • PyOpenGL A hack to get py2exe and PyOpenGL working


  • Py2exeAndPyQt If you're getting File "qt.pyc", line 7, in __load Import Error: No module named sip, read this

Python Eggs

  • ExeWithEggs - A recipe for creating an .exe out of eggs


Python ADODB modules

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


  • Py2exeAndPyXML If you're getting File "xml\sax\saxexts.pyc", line 77, in make_parser; xml.sax._exceptions.SAXReaderNotAvailable: No parsers found, read this.


Quixote is a pythonivc toolkit for web pages 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: py2exeAndQuixote HAM20040602



  • ScipyImportProblems Using py2exe with scipy ends up with missing cephes and __cvs_version__ messages. Here is a fix.



  • TixSetup - Including the Tix DLL and Tcl files to make Tix apps work.




WorkingWithVariousPackagesAndModules (last edited 2012-06-25 15:49:01 by LeeKamentsky)