Re: [PythonReports-users] PythonReports and py2exe
Brought to you by:
a1s
From: alexander s. <al...@go...> - 2013-01-05 08:34:16
|
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. >> I think that img2py will do, too. > Attached a patch for using img2py This is checked in. > FYI, get_resources_dir is also used in "test_system.py" but with an non > existent image - is that to force a fail in the test? No, it was lost when I rearranged subpackages. Best wishes, alex. |