នៅថ្ងៃ ព្រហស្បតិ៍ 21 មិថុនា 2007 02:53, Tina I បានសរសេរថា ៖ > Giovanni Bajo wrote: > > On 20/06/2007 10.49, Tina I wrote: > >> I have had success with PyInstaller: > >> http://pyinstaller.python-hosting.com/ It produces a self contained > >> executable, either a single file or a directory, and can handle both > >> Linux and Windows. Just remember that you need to add a hook to SIP > >> to make it work with PyQt (Create a file under /hooks in your > >> PyInstaller directory named "hook-PyQt4.py" that contain the line > >> "hiddenimports = ['sip']") > > > > ... or simply get a more recent version of PyInstaller (from SVN > > trunk), which already has this hook included. :) > > That would work too... :P Thanks all for giving me your hands. Pyinstaller is very easy, beautiful and wonderful.
It created the necessary libraries for my program and the executable file. Just one clicking...Wow...:-) (It lost all icons though, but it might have to be fixed in my program.) Thanks again, da _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
