Re: [PythonReports-users] PythonReports and py2exe
Brought to you by:
a1s
From: Werner F. B. <wer...@fr...> - 2013-01-05 09:39:02
|
On 05/01/2013 09:33, alexander smishlajev wrote: > On 04.01.2013 12:56, Werner F. Bruhin wrote: >>> PythonReports should be found without explicit include. For my other >>> project (no wx part, only reportlab-based builder and pdf output), I use >>> >>> "includes": [ >>> "PythonReports.PILDrivers", >>> "PythonReports.RLDrivers", >> Instead of this I added it to 'packages' which forces the full the >> package to be included: >> packages = ['twcbsrc', 'email', 'amara', 'kinterbasdb', 'setuptools', >> 'sqlalchemy', 'wx.lib.pubsub', 'PythonReports', 'reportlab'] > This pulls in Tkinter which is quite weighty and absolutely unneeded in > your case: you cannot use wx and Tk simultaneously. You are right, didn't show my exclude which I should for other users. excludes = ['_gtkagg', '_tkagg', 'bsddb', 'curses', 'pywin.debugger', 'pywin.debugger.dbgcon', 'pywin.dialogs', 'tcl', 'Tkconstants', 'Tkinter', "_tkinter", 'pydoc', 'doctest', 'test', 'sqlite3' dll_excludes = ['libgdk-win32-2.0-0.dll', 'libgobject-2.0-0.dll', 'tcl84.dll', 'tk84.dll', 'fbclient.dll', 'icudt30.dll', 'icuin30.dll', 'icuuc30.dll', 'mswsock.dll', 'powrprof.dll', 'MSVCP90.dll'] Above is obviously adapted to the needs of my application and each user should adapt it to his/her needs. > >>> I think that img2py will do, too. >> Attached a patch for using img2py > This is checked in. Great, thanks for accepting this patch. Werner |