Hi again, នៅថ្ងៃ ព្រហស្បតិ៍ 21 មិថុនា 2007 09:48, hok kakada បានសរសេរថា ៖ > នៅថ្ងៃ ព្រហស្បតិ៍ 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.) I have tried to solve this problem, still I can't get through. My program structure is: program/modules program/images program/ui program/programname.py
Do I have to edit hooks/hook-Image.py? and how? > Thanks again, > da > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt -- Ms.Kakada Hok Open Source Engineer-Coordinator of the Development Team KhmerOS project Open Institute Organization H/P:(+855-12) 653 155 _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
